﻿namespace HRM.UI
{
    using APP.HELPER.Data.Helper;
    using APP.HELPER.Utils;
    using APP.HELPER.Utils.Language;
    using Common.Class;
    using DevExpress.LookAndFeel;
    using DevExpress.Skins;
    using DevExpress.Utils;
    using DevExpress.XtraBars;
    using DevExpress.XtraBars.Alerter;
    using DevExpress.XtraBars.Ribbon;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraEditors.Repository;
    using DevExpress.XtraTab;
    using DevExpress.XtraTabbedMdi;
    using Dictionary;
    using Extra.Common;
    using Extra.Data.Core;
    using Extra.Data.Extra.Class;
    using Extra.Data.Extra.Forms;
    using Extra.ERP;
    using HRM.CORE;
    using HRM.CORE.CLASS;
    using HRM.CORE.Machine;
    using HRM.CORE.REPORT;
    using HRM.Loginui;
    using Microsoft.VisualBasic.CompilerServices;
    using Security.ERP;
    using Security.Login;
    using Security.Security;
    using Service;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System.IO;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    internal class Form0 : RibbonForm
    {
        private AlertControl alertControl_0;
        private ApplicationMenu applicationMenu_0;
        private BarButtonItem barButtonItem_0;
        private BarButtonItem barButtonItem_1;
        private BarButtonItem barButtonItem_10;
        private BarButtonItem barButtonItem_11;
        private BarButtonItem barButtonItem_12;
        private BarButtonItem barButtonItem_13;
        private BarButtonItem barButtonItem_14;
        private BarButtonItem barButtonItem_15;
        private BarButtonItem barButtonItem_16;
        private BarButtonItem barButtonItem_17;
        private BarButtonItem barButtonItem_18;
        private BarButtonItem barButtonItem_19;
        private BarButtonItem barButtonItem_2;
        private BarButtonItem barButtonItem_20;
        private BarButtonItem barButtonItem_21;
        private BarButtonItem barButtonItem_22;
        private BarButtonItem barButtonItem_23;
        private BarButtonItem barButtonItem_24;
        private BarButtonItem barButtonItem_25;
        private BarButtonItem barButtonItem_26;
        private BarButtonItem barButtonItem_27;
        private BarButtonItem barButtonItem_28;
        private BarButtonItem barButtonItem_29;
        private BarButtonItem barButtonItem_3;
        private BarButtonItem barButtonItem_30;
        private BarButtonItem barButtonItem_31;
        private BarButtonItem barButtonItem_32;
        private BarButtonItem barButtonItem_33;
        private BarButtonItem barButtonItem_34;
        private BarButtonItem barButtonItem_35;
        private BarButtonItem barButtonItem_36;
        private BarButtonItem barButtonItem_37;
        private BarButtonItem barButtonItem_38;
        private BarButtonItem barButtonItem_39;
        private BarButtonItem barButtonItem_4;
        private BarButtonItem barButtonItem_40;
        private BarButtonItem barButtonItem_41;
        private BarButtonItem barButtonItem_42;
        private BarButtonItem barButtonItem_43;
        private BarButtonItem barButtonItem_44;
        private BarButtonItem barButtonItem_45;
        private BarButtonItem barButtonItem_46;
        private BarButtonItem barButtonItem_47;
        private BarButtonItem barButtonItem_48;
        private BarButtonItem barButtonItem_49;
        private BarButtonItem barButtonItem_5;
        private BarButtonItem barButtonItem_50;
        private BarButtonItem barButtonItem_51;
        private BarButtonItem barButtonItem_52;
        private BarButtonItem barButtonItem_53;
        private BarButtonItem barButtonItem_54;
        private BarButtonItem barButtonItem_55;
        private BarButtonItem barButtonItem_56;
        private BarButtonItem barButtonItem_57;
        private BarButtonItem barButtonItem_58;
        private BarButtonItem barButtonItem_59;
        private BarButtonItem barButtonItem_6;
        private BarButtonItem barButtonItem_60;
        private BarButtonItem barButtonItem_61;
        private BarButtonItem barButtonItem_62;
        private BarButtonItem barButtonItem_63;
        private BarButtonItem barButtonItem_64;
        private BarButtonItem barButtonItem_65;
        private BarButtonItem barButtonItem_66;
        private BarButtonItem barButtonItem_67;
        private BarButtonItem barButtonItem_68;
        private BarButtonItem barButtonItem_7;
        private BarButtonItem barButtonItem_8;
        private BarButtonItem barButtonItem_9;
        private BarEditItem barEditItem_0;
        private BarEditItem barEditItem_1;
        private BarEditItem barEditItem_2;
        private BarEditItem barEditItem_3;
        private BarEditItem barEditItem_4;
        private BarLinkContainerItem barLinkContainerItem_0;
        private BarMdiChildrenListItem barMdiChildrenListItem_0;
        private BarStaticItem barStaticItem_0;
        private BarStaticItem barStaticItem_1;
        private BarStaticItem barStaticItem_2;
        private BarStaticItem barStaticItem_3;
        private BarStaticItem barStaticItem_4;
        private BarStaticItem barStaticItem_5;
        private BarStaticItem barStaticItem_6;
        private BarStaticItem barStaticItem_7;
        private BarStaticItem barStaticItem_8;
        private BarStaticItem barStaticItem_9;
        private BarSubItem barSubItem_0;
        private BarSubItem barSubItem_1;
        private BarSubItem barSubItem_2;
        private BarSubItem barSubItem_3;
        private BarSubItem barSubItem_4;
        private BarSubItem barSubItem_5;
        private BarSubItem barSubItem_6;
        private BarSubItem barSubItem_7;
        private BarSubItem barSubItem_8;
        private bool bool_0;
        private FlowLayoutPanel flowLayoutPanel_0;
        private IContainer icontainer_0 = null;
        private DevExpress.Utils.ImageCollection imageCollection_0;
        private DevExpress.Utils.ImageCollection imageCollection_1;
        private DevExpress.Utils.ImageCollection imageCollection_2;
        private LabelControl labelControl_0;
        private PanelControl panelControl_0;
        private PopupControlContainer popupControlContainer_0;
        private PopupMenu popupMenu_0;
        private PopupMenu popupMenu_1;
        private PopupMenu popupMenu_2;
        private PopupMenu popupMenu_3;
        private PopupMenu popupMenu_4;
        private PopupMenu popupMenu_5;
        private RepositoryItemButtonEdit repositoryItemButtonEdit_0;
        private RepositoryItemComboBox repositoryItemComboBox_0;
        private RepositoryItemDateEdit repositoryItemDateEdit_0;
        private RibbonControl ribbonControl_0;
        private RibbonPage ribbonPage_0;
        private RibbonPage ribbonPage_1;
        private RibbonPage ribbonPage_2;
        private RibbonPageGroup ribbonPageGroup_0;
        private RibbonPageGroup ribbonPageGroup_1;
        private RibbonPageGroup ribbonPageGroup_10;
        private RibbonPageGroup ribbonPageGroup_11;
        private RibbonPageGroup ribbonPageGroup_12;
        private RibbonPageGroup ribbonPageGroup_13;
        private RibbonPageGroup ribbonPageGroup_2;
        private RibbonPageGroup ribbonPageGroup_3;
        private RibbonPageGroup ribbonPageGroup_4;
        private RibbonPageGroup ribbonPageGroup_5;
        private RibbonPageGroup ribbonPageGroup_6;
        private RibbonPageGroup ribbonPageGroup_7;
        private RibbonPageGroup ribbonPageGroup_8;
        private RibbonPageGroup ribbonPageGroup_9;
        private RibbonStatusBar ribbonStatusBar_0;
        private static xfmSalaryPay.SalaryPayChangedHander salaryPayChangedHander_0;
        private SqlHelper sqlHelper_0;
        private string string_0 = (Application.StartupPath + @"\Layout\theme.xml");
        private string string_1 = (Application.StartupPath + @"\Layout\startup.xml");
        private Timer timer_0;
        private xfmAtt xfmAtt_0;
        private xfmBalanceSheet xfmBalanceSheet_0;
        //private xfmBrowser xfmBrowser_0;
        private xfmCandidate xfmCandidate_0;
        private xfmContract xfmContract_0;
        private xfmDeclaration xfmDeclaration_0;
        private xfmDiagram xfmDiagram_0;
        private xfmDictionary xfmDictionary_0;
        private xfmDiscipline xfmDiscipline_0;
        private xfmEmployee xfmEmployee_0;
        private xfmGroups xfmGroups_0;
        private HRM.CORE.xfmInsurance xfmInsurance_0;
        private xfmPayInsurance xfmPayInsurance_0;
        private xfmPermision xfmPermision_0;
        private xfmProcess xfmProcess_0;
        private xfmProcessList xfmProcessList_0;
        private xfmReg xfmReg_0;
        private xfmReportUI xfmReportUI_0;
        private xfmReward xfmReward_0;
        private xfmSalary xfmSalary_0;
        private xfmSalaryOverTime xfmSalaryOverTime_0;
        private xfmSalaryPay xfmSalaryPay_0;
        private xfmSearch xfmSearch_0;
        private xfmShiftOrder xfmShiftOrder_0;
        private XfmSysLog xfmSysLog_0;
        private xfmTimekeeperOverTime xfmTimekeeperOverTime_0;
        private xfmTimekeeperTable xfmTimekeeperTable_0;
        private xfmTimekeeperTotal xfmTimekeeperTotal_0;
        private xfmTimekeeping xfmTimekeeping_0;
        private xfmTotalUp xfmTotalUp_0;
        private xfmTraining xfmTraining_0;
        private xfmTrash xfmTrash_0;
        private xfmUsers xfmUsers_0;
        private xfmWelfare xfmWelfare_0;
        private xfmWork xfmWork_0;
        private xfmWorkdesk xfmWorkdesk_0;
        private XtraScrollableControl xtraScrollableControl_0;
        private XtraTabbedMdiManager xtraTabbedMdiManager_0;

        public Form0()
        {
            this.method_0();
            Form1.SotfType = EnumSotfType.Trial;
            this.bool_0 = true;
            DbInfo.CheckVersion();
            xfmLoginClassic classic = new xfmLoginClassic();
            classic.LoginSuccess += new xfmLoginClassic.LoginSuccessEventHander(this.method_7);
            classic.ShowDialog(this);
        }

        private void barButtonItem_0_ItemClick(object sender, ItemClickEventArgs e)
        {
            //XfmCompany company = new XfmCompany();
            //company.Success += new XfmCompany.SuccessEventHander(this.method_31);
            //company.ShowDialog();
        }

        private void barButtonItem_11_ItemClick(object sender, ItemClickEventArgs e)
        {
            new xfmAllOption().ShowDialog();
        }

        private void barButtonItem_12_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.barButtonItem_12.Enabled = false;
            this.method_15("xfmSysLog", "");
            this.barButtonItem_12.Enabled = true;
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_14_ItemClick(object sender, ItemClickEventArgs e)
        {
            new frmChangePassword().ShowDialog();
        }

        private void barButtonItem_15_ItemClick(object sender, ItemClickEventArgs e)
        {
            SYS_LOG.Insert("Hệ Thống", "Đăng xuất");
            this.barButtonItem_15.Enabled = false;
            this.bool_0 = false;
            Cursor.Current = Cursors.WaitCursor;
            xfmLoginClassic classic = new xfmLoginClassic();
            classic.LoginSuccess += new xfmLoginClassic.LoginSuccessEventHander(this.method_7);
            classic.ShowDialog(this);
            this.barButtonItem_15.Enabled = true;
        }

        private void barButtonItem_16_ItemClick(object sender, ItemClickEventArgs e)
        {
            this.method_8();
            Application.Exit();
        }

        private void barButtonItem_18_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmGroups", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_19_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmUsers", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_2_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmBrowser", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_20_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                if (XtraMessageBox.Show("Qu\x00e1 tr\x00ecnh cập nhật sẽ tắt phần mềm đang sử dụng.\nBạn c\x00f3 muốn cập nhật kh\x00f4ng?.", "Th\x00f4ng B\x00e1o", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.No)
                {
                    SYS_LOG.Insert("Cập Nhật Phần Mềm", "Thực Thi");
                    Process.Start(Application.StartupPath + @"\OnlineUpdate.exe");
                    Environment.Exit(0);
                }
            }
            catch (Exception exception)
            {
                XtraMessageBox.Show(exception.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
            }
        }

        private void barButtonItem_21_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                if (XtraMessageBox.Show("Qu\x00e1 tr\x00ecnh cập nhật sẽ tắt phần mềm đang sử dụng.\nBạn c\x00f3 muốn cập nhật kh\x00f4ng?.", "Th\x00f4ng B\x00e1o", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.No)
                {
                    SYS_LOG.Insert("Cập Nhật Phần Mềm", "Thực Thi");
                    Process.Start(Application.StartupPath + @"\OfflineUpdate.exe");
                    Environment.Exit(0);
                }
            }
            catch (Exception exception)
            {
                XtraMessageBox.Show(exception.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
            }
        }

        private void barButtonItem_23_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                Process.Start(Application.StartupPath + @"\userguide.pdf");
            }
            catch (Exception exception)
            {
                XtraMessageBox.Show(exception.Message, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }

        private void barButtonItem_24_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                Process.Start("http://www.perfect.com.vn/Video-huong-dan-su-dung-phan-mem-quan-ly-nhan-su.html");
            }
            catch (Exception exception)
            {
                XtraMessageBox.Show(exception.Message, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }

        private void barButtonItem_25_ItemClick(object sender, ItemClickEventArgs e)
        {
            new XfmBackupDatabase().ShowDialog();
        }

        private void barButtonItem_26_ItemClick(object sender, ItemClickEventArgs e)
        {
            new xfmRestoreDatabase().ShowDialog();
        }

        private void barButtonItem_27_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                Process.Start(Application.StartupPath + @"\userguide.pdf");
            }
            catch (Exception exception)
            {
                XtraMessageBox.Show(exception.Message, "Warning", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }

        private void barButtonItem_3_ItemClick(object sender, ItemClickEventArgs e)
        {
            //new XfmCompany(true, 2).ShowDialog(this);
        }

        private void barButtonItem_35_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmCandidate", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_36_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmEmployee", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_37_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmProcess", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_38_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmDictionary", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_39_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            new xfmAllOption("tabMinimumSalary").ShowDialog();
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_40_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmWorkdesk", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_41_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmShiftOrder", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_42_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            new xfmAllOption("tabSalary").ShowDialog();
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_43_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmContract", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_44_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmTimekeeperOverTime", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_45_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmSalaryOverTime", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_46_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmAtt", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_47_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmSalary", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_48_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmTotalUp", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_49_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmPermision", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_5_ItemClick(object sender, ItemClickEventArgs e)
        {
            SYS_LOG.Insert("Bản Quyền Phần Mềm", "Mở");
            //XfmService service = new XfmService();
            //service.Success += new XfmService.SuccessEventHander(this.method_5);
            //service.ShowDialog();
        }

        private void barButtonItem_50_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmInsurance", "");
            Cursor.Current = Cursors.Default;
        }

        private unsafe void barButtonItem_51_ItemClick(object sender, ItemClickEventArgs e)
        {
            int imageCount = 0;
            while (imageCount < (this.imageCollection_1.Images.Count - 1))
            {
                new Bitmap(this.imageCollection_1.Images[imageCount]).Save(@"D:\hinh" + imageCount.ToString() + ".png");
                imageCount++;
            }
        }

        private void barButtonItem_52_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmDeclaration", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_53_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmPayInsurance", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_54_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmReward", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_55_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmDiscipline", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_56_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmTraining", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_57_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmWelfare", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_58_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmTimekeeping", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_59_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmWork", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_60_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmProcessList", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_61_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmSalaryPay", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_62_ItemClick(object sender, ItemClickEventArgs e)
        {
            //new xfmWelcome().Show();
        }

        private void barButtonItem_63_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmDiagram", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_64_ItemClick(object sender, ItemClickEventArgs e)
        {
            Process.Start("calc");
        }

        private void barButtonItem_65_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmTimekeeperTotal", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_66_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmTimekeeperTable", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_67_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmBalanceSheet", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_68_ItemClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmReportUI", "");
            Cursor.Current = Cursors.Default;
        }

        private void barButtonItem_7_ItemClick(object sender, ItemClickEventArgs e)
        {
            //new XfmAbout().ShowDialog();
        }

        private void barButtonItem_8_ItemClick(object sender, ItemClickEventArgs e)
        {
            new XfmBackupDatabase().ShowDialog();
        }

        private void barButtonItem_9_ItemClick(object sender, ItemClickEventArgs e)
        {
            new xfmRestoreDatabase().ShowDialog();
        }

        private void barEditItem_1_EditValueChanged(object sender, EventArgs e)
        {
        }

        private void barEditItem_3_EditValueChanged(object sender, EventArgs e)
        {
            if (this.barEditItem_3.EditValue.ToString() == "Classic")
            {
                this.ribbonControl_0.LargeImages = this.imageCollection_1;
                if (this.xfmDictionary_0 != null)
                {
                    this.xfmDictionary_0.SetStyle("Classic");
                }
                if (this.xfmTotalUp_0 != null)
                {
                    this.xfmTotalUp_0.SetStyle("Classic");
                }
                if (this.xfmDiagram_0 != null)
                {
                    this.xfmDiagram_0.SetStyle("Classic");
                }
            }
            else
            {
                this.ribbonControl_0.LargeImages = this.imageCollection_2;
                if (this.xfmDictionary_0 != null)
                {
                    this.xfmDictionary_0.SetStyle("Metro");
                }
                if (this.xfmTotalUp_0 != null)
                {
                    this.xfmTotalUp_0.SetStyle("Metro");
                }
                if (this.xfmDiagram_0 != null)
                {
                    this.xfmDiagram_0.SetStyle("Metro");
                }
            }
            this.method_11(UserLookAndFeel.Default.SkinName, this.barEditItem_3.EditValue.ToString());
        }

        private void barEditItem_4_EditValueChanged(object sender, EventArgs e)
        {
            new clsAllOption { MonthDefault = System.DateTime.Parse(this.barEditItem_4.EditValue.ToString()) }.SaveOption();
        }

        private void barLinkContainerItem_0_ItemClick(object sender, ItemClickEventArgs e)
        {
            Process.Start("http://www.perfect.com.vn");
        }

        private void barStaticItem_2_ItemDoubleClick(object sender, ItemClickEventArgs e)
        {
            SYS_USER item = new SYS_USER();
            item.Get_UserName(MyLogin.Account);
            xfmUserAdd add = new xfmUserAdd(Actions.Update, item, true);
            add.Updated += new xfmUserAdd.UpdatedEventHander(this.method_44);
            add.ShowDialog();
        }

        private void barStaticItem_3_ItemDoubleClick(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.barStaticItem_3.Enabled = false;
            if (File.Exists(Application.StartupPath + @"\Perfect.Data.exe"))
            {
                Process.Start(Application.StartupPath + @"\Perfect.Data.exe");
            }
            this.barStaticItem_3.Enabled = true;
            Cursor.Current = Cursors.Default;
        }

        private void barStaticItem_5_ItemClick(object sender, ItemClickEventArgs e)
        {
        }

        private void barStaticItem_7_ItemClick(object sender, ItemClickEventArgs e)
        {
            this.method_29(Keys.Insert);
        }

        private void barStaticItem_8_ItemClick(object sender, ItemClickEventArgs e)
        {
            this.method_29(Keys.NumLock);
        }

        private void barStaticItem_9_ItemClick(object sender, ItemClickEventArgs e)
        {
            this.method_29(Keys.Capital);
        }

        private void barSubItem_0_Popup(object sender, EventArgs e)
        {
            foreach (BarItemLink link in this.barSubItem_0.ItemLinks)
            {
                ((BarCheckItem) link.Item).Checked = link.Item.Caption == UserLookAndFeel.Default.SkinName;
            }
        }

        [DebuggerNonUserCode]
        void Dispose(bool bool_1)
        {
            if (bool_1 && (this.icontainer_0 != null))
            {
                this.icontainer_0.Dispose();
            }
            base.Dispose(bool_1);
        }

        private void Form0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.method_8();
        }

        private void Form0_KeyUp(object sender, KeyEventArgs e)
        {
            if (((e.KeyData == Keys.Insert) || (e.KeyData == Keys.NumLock)) || (e.KeyData == Keys.Capital))
            {
                this.method_28();
            }
        }

        private void Form0_Load(object sender, EventArgs e)
        {
            this.method_27();
            foreach (SkinContainer container in SkinManager.Default.Skins)
            {
                BarCheckItem item = this.ribbonControl_0.Items.CreateCheckItem(container.SkinName, false);
                item.Tag = container.SkinName;
                item.ItemClick += new ItemClickEventHandler(this.method_9);
                this.barSubItem_0.ItemLinks.Add(item);
            }
            //Welcome.LoadWelcome();
        }

        private void Form0_LocationChanged(object sender, EventArgs e)
        {
            new clsAllOption { WindowState = base.WindowState.ToString(), LocationX = base.Location.X, LocationY = base.Location.Y }.SaveOption();
        }

        private void Form0_SizeChanged(object sender, EventArgs e)
        {
            new clsAllOption { WindowState = base.WindowState.ToString(), SizeWidth = base.Width, SizeHeight = base.Height }.SaveOption();
        }

        [DllImport("user32.dll")]
        internal static extern short GetKeyState(int int_0);
        [DllImport("user32.dll")]
        private static extern void keybd_event(byte byte_0, byte byte_1, uint uint_0, int int_0);
        [DebuggerStepThrough]
        private void method_0()
        {
            this.icontainer_0 = new System.ComponentModel.Container();
            SuperToolTip tip = new SuperToolTip();
            ToolTipTitleItem item = new ToolTipTitleItem();
            SuperToolTip tip2 = new SuperToolTip();
            ToolTipItem item2 = new ToolTipItem();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(Form0));
            manager.GetStream("Form0.Resources");
            SuperToolTip tip3 = new SuperToolTip();
            ToolTipItem item3 = new ToolTipItem();
            SuperToolTip tip4 = new SuperToolTip();
            ToolTipItem item4 = new ToolTipItem();
            SuperToolTip tip5 = new SuperToolTip();
            ToolTipItem item5 = new ToolTipItem();
            SuperToolTip tip6 = new SuperToolTip();
            ToolTipItem item6 = new ToolTipItem();
            SuperToolTip tip7 = new SuperToolTip();
            ToolTipItem item7 = new ToolTipItem();
            SuperToolTip tip8 = new SuperToolTip();
            ToolTipItem item8 = new ToolTipItem();
            SuperToolTip tip9 = new SuperToolTip();
            ToolTipTitleItem item9 = new ToolTipTitleItem();
            ToolTipItem item10 = new ToolTipItem();
            SuperToolTip tip10 = new SuperToolTip();
            ToolTipItem item11 = new ToolTipItem();
            SuperToolTip tip11 = new SuperToolTip();
            ToolTipItem item12 = new ToolTipItem();
            SuperToolTip tip12 = new SuperToolTip();
            ToolTipItem item13 = new ToolTipItem();
            SuperToolTip tip13 = new SuperToolTip();
            ToolTipItem item14 = new ToolTipItem();
            SerializableAppearanceObject appearance = new SerializableAppearanceObject();
            this.ribbonControl_0 = new RibbonControl();
            this.applicationMenu_0 = new ApplicationMenu(this.icontainer_0);
            this.barButtonItem_8 = new BarButtonItem();
            this.barButtonItem_9 = new BarButtonItem();
            this.barButtonItem_63 = new BarButtonItem();
            this.barButtonItem_40 = new BarButtonItem();
            this.barButtonItem_0 = new BarButtonItem();
            this.barButtonItem_68 = new BarButtonItem();
            this.barButtonItem_11 = new BarButtonItem();
            this.barButtonItem_15 = new BarButtonItem();
            this.barButtonItem_16 = new BarButtonItem();
            this.popupControlContainer_0 = new PopupControlContainer(this.icontainer_0);
            this.panelControl_0 = new PanelControl();
            this.xtraScrollableControl_0 = new XtraScrollableControl();
            this.flowLayoutPanel_0 = new FlowLayoutPanel();
            this.labelControl_0 = new LabelControl();
            this.imageCollection_0 = new DevExpress.Utils.ImageCollection(this.icontainer_0);
            this.barButtonItem_1 = new BarButtonItem();
            this.barButtonItem_2 = new BarButtonItem();
            this.barButtonItem_3 = new BarButtonItem();
            this.barButtonItem_4 = new BarButtonItem();
            this.barButtonItem_5 = new BarButtonItem();
            this.barButtonItem_6 = new BarButtonItem();
            this.barStaticItem_0 = new BarStaticItem();
            this.barButtonItem_7 = new BarButtonItem();
            this.barStaticItem_1 = new BarStaticItem();
            this.barStaticItem_2 = new BarStaticItem();
            this.barStaticItem_3 = new BarStaticItem();
            this.barStaticItem_4 = new BarStaticItem();
            this.barLinkContainerItem_0 = new BarLinkContainerItem();
            this.barButtonItem_10 = new BarButtonItem();
            this.barStaticItem_5 = new BarStaticItem();
            this.barButtonItem_12 = new BarButtonItem();
            this.barButtonItem_13 = new BarButtonItem();
            this.popupMenu_0 = new PopupMenu(this.icontainer_0);
            this.barStaticItem_6 = new BarStaticItem();
            this.barButtonItem_14 = new BarButtonItem();
            this.barButtonItem_17 = new BarButtonItem();
            this.barButtonItem_18 = new BarButtonItem();
            this.barButtonItem_19 = new BarButtonItem();
            this.barSubItem_0 = new BarSubItem();
            this.barSubItem_1 = new BarSubItem();
            this.barButtonItem_20 = new BarButtonItem();
            this.barButtonItem_21 = new BarButtonItem();
            this.barButtonItem_22 = new BarButtonItem();
            this.barSubItem_2 = new BarSubItem();
            this.barButtonItem_23 = new BarButtonItem();
            this.barButtonItem_24 = new BarButtonItem();
            this.barButtonItem_25 = new BarButtonItem();
            this.barButtonItem_26 = new BarButtonItem();
            this.barMdiChildrenListItem_0 = new BarMdiChildrenListItem();
            this.barButtonItem_27 = new BarButtonItem();
            this.barButtonItem_32 = new BarButtonItem();
            this.barButtonItem_33 = new BarButtonItem();
            this.barButtonItem_34 = new BarButtonItem();
            this.barButtonItem_35 = new BarButtonItem();
            this.barButtonItem_36 = new BarButtonItem();
            this.barButtonItem_37 = new BarButtonItem();
            this.barEditItem_0 = new BarEditItem();
            this.barEditItem_1 = new BarEditItem();
            this.repositoryItemButtonEdit_0 = new RepositoryItemButtonEdit();
            this.barButtonItem_38 = new BarButtonItem();
            this.barButtonItem_39 = new BarButtonItem();
            this.barButtonItem_41 = new BarButtonItem();
            this.barButtonItem_42 = new BarButtonItem();
            this.barButtonItem_43 = new BarButtonItem();
            this.barButtonItem_44 = new BarButtonItem();
            this.barButtonItem_45 = new BarButtonItem();
            this.barButtonItem_46 = new BarButtonItem();
            this.barButtonItem_47 = new BarButtonItem();
            this.barButtonItem_48 = new BarButtonItem();
            this.barButtonItem_49 = new BarButtonItem();
            this.barButtonItem_50 = new BarButtonItem();
            this.barEditItem_3 = new BarEditItem();
            this.repositoryItemComboBox_0 = new RepositoryItemComboBox();
            this.barButtonItem_51 = new BarButtonItem();
            this.barSubItem_3 = new BarSubItem();
            this.barButtonItem_52 = new BarButtonItem();
            this.barButtonItem_53 = new BarButtonItem();
            this.barSubItem_4 = new BarSubItem();
            this.barButtonItem_54 = new BarButtonItem();
            this.barButtonItem_55 = new BarButtonItem();
            this.barButtonItem_56 = new BarButtonItem();
            this.barButtonItem_57 = new BarButtonItem();
            this.barStaticItem_7 = new BarStaticItem();
            this.barStaticItem_8 = new BarStaticItem();
            this.barStaticItem_9 = new BarStaticItem();
            this.barButtonItem_58 = new BarButtonItem();
            this.barButtonItem_59 = new BarButtonItem();
            this.barSubItem_5 = new BarSubItem();
            this.barButtonItem_60 = new BarButtonItem();
            this.barButtonItem_61 = new BarButtonItem();
            this.barButtonItem_62 = new BarButtonItem();
            this.barButtonItem_64 = new BarButtonItem();
            this.barButtonItem_65 = new BarButtonItem();
            this.barButtonItem_66 = new BarButtonItem();
            this.barButtonItem_67 = new BarButtonItem();
            this.barSubItem_6 = new BarSubItem();
            this.barSubItem_7 = new BarSubItem();
            this.barSubItem_8 = new BarSubItem();
            this.barEditItem_4 = new BarEditItem();
            this.repositoryItemDateEdit_0 = new RepositoryItemDateEdit();
            this.imageCollection_1 = new DevExpress.Utils.ImageCollection(this.icontainer_0);
            this.ribbonPage_2 = new RibbonPage();
            this.ribbonPageGroup_6 = new RibbonPageGroup();
            this.ribbonPageGroup_5 = new RibbonPageGroup();
            this.ribbonPageGroup_7 = new RibbonPageGroup();
            this.ribbonPageGroup_8 = new RibbonPageGroup();
            this.ribbonPageGroup_9 = new RibbonPageGroup();
            this.ribbonPage_0 = new RibbonPage();
            this.ribbonPageGroup_3 = new RibbonPageGroup();
            this.ribbonPageGroup_2 = new RibbonPageGroup();
            this.ribbonPageGroup_4 = new RibbonPageGroup();
            this.ribbonPageGroup_13 = new RibbonPageGroup();
            this.ribbonPageGroup_10 = new RibbonPageGroup();
            this.ribbonPage_1 = new RibbonPage();
            this.ribbonPageGroup_0 = new RibbonPageGroup();
            this.ribbonPageGroup_1 = new RibbonPageGroup();
            this.ribbonPageGroup_12 = new RibbonPageGroup();
            this.ribbonStatusBar_0 = new RibbonStatusBar();
            this.popupMenu_5 = new PopupMenu(this.icontainer_0);
            this.popupMenu_3 = new PopupMenu(this.icontainer_0);
            this.popupMenu_2 = new PopupMenu(this.icontainer_0);
            this.popupMenu_4 = new PopupMenu(this.icontainer_0);
            this.popupMenu_1 = new PopupMenu(this.icontainer_0);
            this.xtraTabbedMdiManager_0 = new XtraTabbedMdiManager(this.icontainer_0);
            this.timer_0 = new Timer(this.icontainer_0);
            this.barButtonItem_28 = new BarButtonItem();
            this.barButtonItem_29 = new BarButtonItem();
            this.barButtonItem_30 = new BarButtonItem();
            this.barButtonItem_31 = new BarButtonItem();
            this.ribbonPageGroup_11 = new RibbonPageGroup();
            this.barEditItem_2 = new BarEditItem();
            this.alertControl_0 = new AlertControl(this.icontainer_0);
            this.imageCollection_2 = new DevExpress.Utils.ImageCollection(this.icontainer_0);
            this.ribbonControl_0.BeginInit();
            this.applicationMenu_0.BeginInit();
            this.popupControlContainer_0.BeginInit();
            this.popupControlContainer_0.SuspendLayout();
            this.panelControl_0.BeginInit();
            this.panelControl_0.SuspendLayout();
            this.xtraScrollableControl_0.SuspendLayout();
            this.imageCollection_0.BeginInit();
            this.popupMenu_0.BeginInit();
            this.repositoryItemButtonEdit_0.BeginInit();
            this.repositoryItemComboBox_0.BeginInit();
            this.repositoryItemDateEdit_0.BeginInit();
            this.repositoryItemDateEdit_0.VistaTimeProperties.BeginInit();
            this.imageCollection_1.BeginInit();
            this.popupMenu_5.BeginInit();
            this.popupMenu_3.BeginInit();
            this.popupMenu_2.BeginInit();
            this.popupMenu_4.BeginInit();
            this.popupMenu_1.BeginInit();
            ((ISupportInitialize) this.xtraTabbedMdiManager_0).BeginInit();
            this.imageCollection_2.BeginInit();
            base.SuspendLayout();
            this.ribbonControl_0.ApplicationButtonDropDownControl = this.applicationMenu_0;
            item.Text = "T\x00f9y chọn";
            tip.Items.Add(item);
            this.ribbonControl_0.ApplicationButtonSuperTip = tip;
            this.ribbonControl_0.ApplicationCaption = "Phần Mềm Quản L\x00fd Nh\x00e2n Sự";
            //this.ribbonControl_0.ApplicationIcon = Class0.app_Hrm;
            this.ribbonControl_0.AutoSizeItems = true;
            this.ribbonControl_0.Images = this.imageCollection_0;
            this.ribbonControl_0.Items.AddRange(new BarItem[] { 
                this.barButtonItem_0, this.barButtonItem_1, this.barButtonItem_2, this.barButtonItem_3, this.barButtonItem_4, this.barButtonItem_5, this.barButtonItem_6, this.barStaticItem_0, this.barButtonItem_7, this.barStaticItem_1, this.barButtonItem_8, this.barButtonItem_9, this.barStaticItem_2, this.barStaticItem_3, this.barStaticItem_4, this.barLinkContainerItem_0, 
                this.barButtonItem_10, this.barStaticItem_5, this.barButtonItem_11, this.barButtonItem_12, this.barButtonItem_13, this.barStaticItem_6, this.barButtonItem_16, this.barButtonItem_15, this.barButtonItem_14, this.barButtonItem_17, this.barButtonItem_18, this.barButtonItem_19, this.barSubItem_0, this.barSubItem_1, this.barButtonItem_20, this.barButtonItem_21, 
                this.barButtonItem_22, this.barSubItem_2, this.barButtonItem_23, this.barButtonItem_24, this.barButtonItem_25, this.barButtonItem_26, this.barMdiChildrenListItem_0, this.barButtonItem_27, this.barButtonItem_32, this.barButtonItem_33, this.barButtonItem_34, this.barButtonItem_35, this.barButtonItem_36, this.barButtonItem_37, this.barEditItem_0, this.barEditItem_1, 
                this.barButtonItem_38, this.barButtonItem_39, this.barButtonItem_40, this.barButtonItem_41, this.barButtonItem_42, this.barButtonItem_43, this.barButtonItem_44, this.barButtonItem_45, this.barButtonItem_46, this.barButtonItem_47, this.barButtonItem_48, this.barButtonItem_49, this.barButtonItem_50, this.barEditItem_3, this.barButtonItem_51, this.barSubItem_3, 
                this.barButtonItem_52, this.barButtonItem_53, this.barStaticItem_7, this.barStaticItem_8, this.barStaticItem_9, this.barSubItem_4, this.barButtonItem_57, this.barButtonItem_54, this.barButtonItem_55, this.barButtonItem_56, this.barButtonItem_58, this.barButtonItem_59, this.barSubItem_5, this.barButtonItem_60, this.barButtonItem_61, this.barButtonItem_62, 
                this.barButtonItem_63, this.barButtonItem_64, this.barButtonItem_65, this.barButtonItem_66, this.barButtonItem_67, this.barSubItem_6, this.barSubItem_7, this.barSubItem_8, this.barEditItem_4, this.barButtonItem_68
             });
            this.ribbonControl_0.LargeImages = this.imageCollection_1;
            this.ribbonControl_0.Location = new Point(0, 0);
            this.ribbonControl_0.MaxItemId = 0x1bd;
            this.ribbonControl_0.MdiMergeStyle = RibbonMdiMergeStyle.Always;
            this.ribbonControl_0.Name = "rbcMain";
            this.ribbonControl_0.PageHeaderItemLinks.Add(this.barButtonItem_51);
            this.ribbonControl_0.PageHeaderItemLinks.Add(this.barStaticItem_2);
            this.ribbonControl_0.PageHeaderItemLinks.Add(this.barStaticItem_3);
            this.ribbonControl_0.PageHeaderItemLinks.Add(this.barStaticItem_5);
            this.ribbonControl_0.PageHeaderItemLinks.Add(this.barEditItem_3);
            this.ribbonControl_0.Pages.AddRange(new RibbonPage[] { this.ribbonPage_0, this.ribbonPage_2, this.ribbonPage_1 });
            this.ribbonControl_0.RepositoryItems.AddRange(new RepositoryItem[] { this.repositoryItemButtonEdit_0, this.repositoryItemComboBox_0, this.repositoryItemDateEdit_0 });
            this.ribbonControl_0.SelectedPage = this.ribbonPage_2;
            this.ribbonControl_0.ShowCategoryInCaption = false;
            this.ribbonControl_0.Size = new Size(0x4ef, 0x8f);
            this.ribbonControl_0.StatusBar = this.ribbonStatusBar_0;
            this.ribbonControl_0.Toolbar.ItemLinks.Add(this.barEditItem_4);
            this.ribbonControl_0.Toolbar.ItemLinks.Add(this.barMdiChildrenListItem_0, true);
            this.ribbonControl_0.Toolbar.ItemLinks.Add(this.barButtonItem_25, true);
            this.ribbonControl_0.Toolbar.ItemLinks.Add(this.barButtonItem_26);
            this.ribbonControl_0.Toolbar.ItemLinks.Add(this.barButtonItem_27, true);
            this.ribbonControl_0.Toolbar.ItemLinks.Add(this.barSubItem_0, true);
            this.ribbonControl_0.TransparentEditors = true;
            this.ribbonControl_0.Layout += new LayoutEventHandler(this.ribbonControl_0_Layout);
            this.ribbonControl_0.MinimizedChanged += new EventHandler(this.ribbonControl_0_MinimizedChanged);
            this.ribbonControl_0.ApplicationButtonClick += new EventHandler(this.ribbonControl_0_ApplicationButtonClick);
            this.ribbonControl_0.Merge += new RibbonMergeEventHandler(this.ribbonControl_0_Merge);
            this.applicationMenu_0.BottomPaneControlContainer = null;
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_8);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_9);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_63, true);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_40);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_0);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_68);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_11, true);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_15, true);
            this.applicationMenu_0.ItemLinks.Add(this.barButtonItem_16);
            this.applicationMenu_0.Name = "pmAppMain";
            this.applicationMenu_0.Ribbon = this.ribbonControl_0;
            this.applicationMenu_0.RightPaneControlContainer = this.popupControlContainer_0;
            this.applicationMenu_0.ShowRightPane = true;
            this.barButtonItem_8.Caption = "Sao Lưu Dữ Liệu";
            this.barButtonItem_8.Description = "Sao lưu dữ liệu";
            this.barButtonItem_8.Hint = "Sao lưu dữ liệu";
            this.barButtonItem_8.Id = 0xd9;
            this.barButtonItem_8.ImageIndex = 0x37;
            this.barButtonItem_8.LargeImageIndex = 7;
            this.barButtonItem_8.Name = "bbiBackup";
            item2.Text = "Sao lưu dữ liệu";
            tip2.Items.Add(item2);
            this.barButtonItem_8.SuperTip = tip2;
            this.barButtonItem_8.ItemClick += new ItemClickEventHandler(this.barButtonItem_8_ItemClick);
            this.barButtonItem_9.Caption = "Phục Hồi Dữ Liệu";
            this.barButtonItem_9.Id = 0xda;
            this.barButtonItem_9.ImageIndex = 0x38;
            this.barButtonItem_9.LargeImageIndex = 8;
            this.barButtonItem_9.Name = "bbiRestore";
            this.barButtonItem_9.ItemClick += new ItemClickEventHandler(this.barButtonItem_9_ItemClick);
            this.barButtonItem_63.Caption = "Sơ Đồ Chức Năng";
            this.barButtonItem_63.Id = 0x1af;
            this.barButtonItem_63.LargeImageIndex = 0x23;
            this.barButtonItem_63.Name = "bbiDiagram";
            this.barButtonItem_63.ItemClick += new ItemClickEventHandler(this.barButtonItem_63_ItemClick);
            this.barButtonItem_40.Caption = "B\x00e0n L\x00e0m Việc";
            this.barButtonItem_40.Id = 0x16c;
            this.barButtonItem_40.LargeImageIndex = 10;
            this.barButtonItem_40.Name = "bbiWorkdesk";
            this.barButtonItem_40.ItemClick += new ItemClickEventHandler(this.barButtonItem_40_ItemClick);
            this.barButtonItem_0.Caption = "Th\x00f4ng Tin C\x00f4ng Ty";
            this.barButtonItem_0.Id = 0x20;
            this.barButtonItem_0.ImageIndex = 0x4a;
            this.barButtonItem_0.LargeImageIndex = 2;
            this.barButtonItem_0.Name = "bbiOption";
            this.barButtonItem_0.ItemClick += new ItemClickEventHandler(this.barButtonItem_0_ItemClick);
            this.barButtonItem_68.Caption = "B\x00e1o C\x00e1o";
            this.barButtonItem_68.Id = 0x1bc;
            this.barButtonItem_68.LargeImageIndex = 0x13;
            this.barButtonItem_68.Name = "bbiReportUI";
            this.barButtonItem_68.Visibility = BarItemVisibility.Never;
            this.barButtonItem_68.ItemClick += new ItemClickEventHandler(this.barButtonItem_68_ItemClick);
            this.barButtonItem_11.Caption = "T\x00f9y chọn";
            this.barButtonItem_11.Id = 0xee;
            this.barButtonItem_11.ImageIndex = 0x4d;
            this.barButtonItem_11.LargeImageIndex = 9;
            this.barButtonItem_11.Name = "bbiFix";
            this.barButtonItem_11.ItemClick += new ItemClickEventHandler(this.barButtonItem_11_ItemClick);
            this.barButtonItem_15.Caption = "Đăng Xuất";
            this.barButtonItem_15.Id = 0xdd;
            this.barButtonItem_15.ImageIndex = 0x42;
            this.barButtonItem_15.LargeImageIndex = 1;
            this.barButtonItem_15.Name = "bbiLogout";
            this.barButtonItem_15.ItemClick += new ItemClickEventHandler(this.barButtonItem_15_ItemClick);
            this.barButtonItem_16.Caption = "Kết Th\x00fac";
            this.barButtonItem_16.Description = "Kết th\x00fac";
            this.barButtonItem_16.Hint = "Kết th\x00fac";
            this.barButtonItem_16.Id = 0x84;
            this.barButtonItem_16.LargeImageIndex = 0;
            this.barButtonItem_16.Name = "bbiClose";
            this.barButtonItem_16.ItemClick += new ItemClickEventHandler(this.barButtonItem_16_ItemClick);
            this.popupControlContainer_0.Appearance.BackColor = Color.Transparent;
            this.popupControlContainer_0.Appearance.Options.UseBackColor = true;
            this.popupControlContainer_0.AutoSize = true;
            this.popupControlContainer_0.BorderStyle = BorderStyles.NoBorder;
            this.popupControlContainer_0.Controls.Add(this.panelControl_0);
            this.popupControlContainer_0.Controls.Add(this.labelControl_0);
            this.popupControlContainer_0.Location = new Point(0x163, 0xd3);
            this.popupControlContainer_0.Margin = new Padding(0);
            this.popupControlContainer_0.Name = "pccAppMenu";
            this.popupControlContainer_0.Ribbon = this.ribbonControl_0;
            this.popupControlContainer_0.Size = new Size(240, 0x12e);
            this.popupControlContainer_0.TabIndex = 4;
            this.popupControlContainer_0.Visible = false;
            this.panelControl_0.BorderStyle = BorderStyles.NoBorder;
            this.panelControl_0.Controls.Add(this.xtraScrollableControl_0);
            this.panelControl_0.Dock = DockStyle.Fill;
            this.panelControl_0.Location = new Point(0, 0x13);
            this.panelControl_0.Name = "pcAppMenuFileLabels";
            this.panelControl_0.Size = new Size(240, 0x11b);
            this.panelControl_0.TabIndex = 2;
            this.xtraScrollableControl_0.Controls.Add(this.flowLayoutPanel_0);
            this.xtraScrollableControl_0.Dock = DockStyle.Fill;
            this.xtraScrollableControl_0.Location = new Point(0, 0);
            this.xtraScrollableControl_0.Name = "pcAppScroll";
            this.xtraScrollableControl_0.Padding = new Padding(10);
            this.xtraScrollableControl_0.Size = new Size(240, 0x11b);
            this.xtraScrollableControl_0.TabIndex = 1;
            this.flowLayoutPanel_0.AutoSize = true;
            this.flowLayoutPanel_0.Dock = DockStyle.Top;
            this.flowLayoutPanel_0.Location = new Point(10, 10);
            this.flowLayoutPanel_0.Name = "pcRecentList";
            this.flowLayoutPanel_0.Size = new Size(220, 0);
            this.flowLayoutPanel_0.TabIndex = 0;
            this.labelControl_0.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0xcc);
            this.labelControl_0.Appearance.Options.UseFont = true;
            this.labelControl_0.AutoSizeMode = LabelAutoSizeMode.None;
            this.labelControl_0.Dock = DockStyle.Top;
            this.labelControl_0.LineLocation = LineLocation.Bottom;
            this.labelControl_0.LineVisible = true;
            this.labelControl_0.Location = new Point(0, 0);
            this.labelControl_0.Name = "labelControl1";
            this.labelControl_0.Padding = new Padding(0, 10, 0, 10);
            this.labelControl_0.Size = new Size(240, 0x13);
            this.labelControl_0.TabIndex = 0;
            this.labelControl_0.Text = "    Danh s\x00e1ch chức năng đang hoạt động";
            this.imageCollection_0.ImageStream = (ImageCollectionStreamer) manager.GetObject("ImgSmall.ImageStream");
            this.imageCollection_0.Images.SetKeyName(0, "restore.png");
            this.imageCollection_0.Images.SetKeyName(1, "help (1).png");
            this.imageCollection_0.Images.SetKeyName(2, "backup.png");
            this.imageCollection_0.Images.SetKeyName(3, "machine.png");
            this.imageCollection_0.Images.SetKeyName(4, "theme.png");
            this.imageCollection_0.Images.SetKeyName(5, "user (1).png");
            this.imageCollection_0.Images.SetKeyName(6, "theme.png");
            this.imageCollection_0.Images.SetKeyName(7, "ASPxPageControl.png");
            this.imageCollection_0.Images.SetKeyName(8, "save.png");
            this.imageCollection_0.Images.SetKeyName(9, "save_go.png");
            this.imageCollection_0.Images.SetKeyName(10, "delete.png");
            this.imageCollection_0.Images.SetKeyName(11, "recycle_empty_16x16.png");
            this.imageCollection_0.Images.SetKeyName(12, "application_vnd_oasis_opendocument_text.png");
            this.imageCollection_0.Images.SetKeyName(13, "calculator (2).png");
            this.imageCollection_0.Images.SetKeyName(14, "CustomerReports.Icon.png");
            this.imageCollection_0.Images.SetKeyName(15, "DataBinding16x16.png");
            this.imageCollection_0.Images.SetKeyName(0x10, "ListItems16x16.png");
            this.imageCollection_0.Images.SetKeyName(0x11, "OLAP.Icon.png");
            this.imageCollection_0.Images.SetKeyName(0x12, "Class.png");
            this.imageCollection_0.Images.SetKeyName(0x13, "ViewStyles.Icon.png");
            this.imageCollection_0.Images.SetKeyName(20, "text_document.png");
            this.barButtonItem_1.Caption = "T\x00e1c giả";
            this.barButtonItem_1.Id = 0x26;
            this.barButtonItem_1.LargeGlyph = (Image) manager.GetObject("bbiAuthor.LargeGlyph");
            this.barButtonItem_1.Name = "bbiAuthor";
            this.barButtonItem_2.Caption = "Giới Thiệu Sản Phẩm";
            this.barButtonItem_2.Id = 0x27;
            this.barButtonItem_2.ImageIndex = 0x3e;
            this.barButtonItem_2.LargeImageIndex = 0x1b;
            this.barButtonItem_2.Name = "bbiHelp";
            this.barButtonItem_2.ItemClick += new ItemClickEventHandler(this.barButtonItem_2_ItemClick);
            this.barButtonItem_3.Caption = "Phản Hồi \x00dd Kiến";
            this.barButtonItem_3.Id = 40;
            this.barButtonItem_3.ImageIndex = 0x33;
            this.barButtonItem_3.LargeImageIndex = 0x1d;
            this.barButtonItem_3.Name = "bbiContact";
            this.barButtonItem_3.ItemClick += new ItemClickEventHandler(this.barButtonItem_3_ItemClick);
            this.barButtonItem_4.Caption = "Trang Chủ C\x00f4ng Ty";
            this.barButtonItem_4.Id = 0x29;
            this.barButtonItem_4.ImageIndex = 60;
            this.barButtonItem_4.LargeImageIndex = 30;
            this.barButtonItem_4.Name = "bbiWebsite";
            this.barButtonItem_4.ItemClick += new ItemClickEventHandler(this.barLinkContainerItem_0_ItemClick);
            this.barButtonItem_5.Caption = "Đăng K\x00fd Sử Dụng";
            this.barButtonItem_5.Id = 0x2a;
            this.barButtonItem_5.ImageIndex = 0x36;
            this.barButtonItem_5.LargeImageIndex = 0x1f;
            this.barButtonItem_5.Name = "bbiRegsiter";
            item3.Text = "Đăng k\x00fd bản quyền phần mềm, sau khi đăng k\x00fd bạn sẽ c\x00f3 được những t\x00ednh năng đầy đủ của phần mềm";
            tip3.Items.Add(item3);
            this.barButtonItem_5.SuperTip = tip3;
            this.barButtonItem_5.ItemClick += new ItemClickEventHandler(this.barButtonItem_5_ItemClick);
            this.barButtonItem_6.Caption = "Khu Vực";
            this.barButtonItem_6.Id = 0x85;
            this.barButtonItem_6.ImageIndex = 0x13;
            this.barButtonItem_6.LargeImageIndex = 0x13;
            this.barButtonItem_6.Name = "bbiCustomerGroup";
            this.barStaticItem_0.Caption = "\x00a9 Bản quyền 2009 - 2014 bởi C\x00d4NG TY PHẦN MỀM HO\x00c0N HẢO";
            this.barStaticItem_0.Id = 0xcf;
            this.barStaticItem_0.Name = "barCompany";
            this.barStaticItem_0.TextAlignment = StringAlignment.Near;
            this.barButtonItem_7.Caption = "Th\x00f4ng Tin Phần Mềm";
            this.barButtonItem_7.Id = 0xd7;
            this.barButtonItem_7.ImageIndex = 0x34;
            this.barButtonItem_7.LargeImageIndex = 0x21;
            this.barButtonItem_7.Name = "btnAuthor";
            this.barButtonItem_7.ItemClick += new ItemClickEventHandler(this.barButtonItem_7_ItemClick);
            this.barStaticItem_1.Alignment = BarItemLinkAlignment.Left;
            this.barStaticItem_1.CausesValidation = true;
            this.barStaticItem_1.Id = 0xd8;
            this.barStaticItem_1.MergeType = BarMenuMerge.MergeItems;
            this.barStaticItem_1.Name = "lblInfo";
            this.barStaticItem_1.TextAlignment = StringAlignment.Near;
            this.barStaticItem_2.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.barStaticItem_2.Appearance.Options.UseFont = true;
            this.barStaticItem_2.Caption = "Người Sử Dụng: ";
            this.barStaticItem_2.Id = 0xe2;
            this.barStaticItem_2.ImageIndex = 14;
            this.barStaticItem_2.Name = "lblAccount";
            item4.Text = "Nhấn đ\x00fap chuột v\x00e0o đ\x00e2y để mở quản l\x00fd người d\x00f9ng";
            tip4.Items.Add(item4);
            this.barStaticItem_2.SuperTip = tip4;
            this.barStaticItem_2.TextAlignment = StringAlignment.Near;
            this.barStaticItem_2.ItemDoubleClick += new ItemClickEventHandler(this.barStaticItem_2_ItemDoubleClick);
            this.barStaticItem_3.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.barStaticItem_3.Appearance.Options.UseFont = true;
            this.barStaticItem_3.Caption = "M\x00e1y Chủ: ";
            this.barStaticItem_3.Id = 0xe3;
            this.barStaticItem_3.ImageIndex = 0x10;
            this.barStaticItem_3.Name = "lblServer";
            item5.Text = "Nhấn đ\x00fap chuột v\x00e0o để mở phần mềm quản l\x00fd cơ sở dữ liệu";
            tip5.Items.Add(item5);
            this.barStaticItem_3.SuperTip = tip5;
            this.barStaticItem_3.TextAlignment = StringAlignment.Near;
            this.barStaticItem_3.ItemDoubleClick += new ItemClickEventHandler(this.barStaticItem_3_ItemDoubleClick);
            this.barStaticItem_4.Caption = "Thời gian:";
            this.barStaticItem_4.Id = 0xe5;
            this.barStaticItem_4.Name = "lblToday";
            this.barStaticItem_4.TextAlignment = StringAlignment.Near;
            this.barLinkContainerItem_0.Alignment = BarItemLinkAlignment.Right;
            this.barLinkContainerItem_0.Caption = "http://www.perfect.com.vn";
            this.barLinkContainerItem_0.Id = 230;
            this.barLinkContainerItem_0.Name = "lblLink";
            this.barLinkContainerItem_0.ItemClick += new ItemClickEventHandler(this.barLinkContainerItem_0_ItemClick);
            this.barButtonItem_10.Caption = "Lịch Sử H\x00e0ng Ho\x00e1";
            this.barButtonItem_10.Id = 0xe7;
            this.barButtonItem_10.ImageIndex = 7;
            this.barButtonItem_10.LargeImageIndex = 7;
            this.barButtonItem_10.Name = "bbiHistory";
            this.barStaticItem_5.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.barStaticItem_5.Appearance.Options.UseFont = true;
            this.barStaticItem_5.Caption = "CSDL";
            this.barStaticItem_5.Id = 0xed;
            this.barStaticItem_5.ImageIndex = 0x11;
            this.barStaticItem_5.Name = "lblDatabase";
            this.barStaticItem_5.TextAlignment = StringAlignment.Near;
            this.barStaticItem_5.ItemClick += new ItemClickEventHandler(this.barStaticItem_5_ItemClick);
            this.barButtonItem_12.Caption = "Nhật K\x00fd Hệ Thống";
            this.barButtonItem_12.Description = "Ghi nhận những thao t\x00e1c của người dụng";
            this.barButtonItem_12.Id = 0xef;
            this.barButtonItem_12.ImageIndex = 0x44;
            this.barButtonItem_12.LargeImageIndex = 6;
            this.barButtonItem_12.Name = "bbiSysLog";
            this.barButtonItem_12.ItemClick += new ItemClickEventHandler(this.barButtonItem_12_ItemClick);
            this.barButtonItem_13.ButtonStyle = BarButtonStyle.DropDown;
            this.barButtonItem_13.Caption = "Hệ Thống";
            this.barButtonItem_13.DropDownControl = this.popupMenu_0;
            this.barButtonItem_13.Id = 0xff;
            this.barButtonItem_13.ImageIndex = 0x4e;
            this.barButtonItem_13.LargeImageIndex = 40;
            this.barButtonItem_13.Name = "ISystem";
            this.barButtonItem_13.RibbonStyle = RibbonItemStyles.SmallWithText;
            this.popupMenu_0.ItemLinks.Add(this.barButtonItem_12);
            this.popupMenu_0.Name = "pmSystem";
            this.popupMenu_0.Ribbon = this.ribbonControl_0;
            this.barStaticItem_6.Id = 0x10b;
            this.barStaticItem_6.Name = "lblVersion";
            this.barStaticItem_6.TextAlignment = StringAlignment.Near;
            this.barButtonItem_14.Caption = "&Đổi Mật Khẩu";
            this.barButtonItem_14.Description = "Thay Đổi Mật Khẩu";
            this.barButtonItem_14.Hint = "Thay Đổi Mật Khẩu";
            this.barButtonItem_14.Id = 8;
            this.barButtonItem_14.ImageIndex = 3;
            this.barButtonItem_14.ItemShortcut = new BarShortcut(Keys.Control | Keys.Shift | Keys.C);
            this.barButtonItem_14.LargeImageIndex = 5;
            this.barButtonItem_14.Name = "bbiChangepassword";
            item6.Text = "Thay đổi mật khẩu người sử dụng";
            tip6.Items.Add(item6);
            this.barButtonItem_14.SuperTip = tip6;
            this.barButtonItem_14.ItemClick += new ItemClickEventHandler(this.barButtonItem_14_ItemClick);
            this.barButtonItem_17.Caption = "Hạn Sử Dụng";
            this.barButtonItem_17.Id = 0x123;
            this.barButtonItem_17.LargeImageIndex = 0x25;
            this.barButtonItem_17.Name = "bbiReportExpire";
            this.barButtonItem_18.Caption = "Vai Tr\x00f2 && Quyền Hạn";
            this.barButtonItem_18.Id = 0x127;
            this.barButtonItem_18.ImageIndex = 2;
            this.barButtonItem_18.LargeImageIndex = 2;
            this.barButtonItem_18.Name = "bbiUserGroup";
            this.barButtonItem_18.Visibility = BarItemVisibility.Never;
            this.barButtonItem_18.ItemClick += new ItemClickEventHandler(this.barButtonItem_18_ItemClick);
            this.barButtonItem_19.Caption = "Danh S\x00e1ch Người D\x00f9ng";
            this.barButtonItem_19.Id = 0x128;
            this.barButtonItem_19.ImageIndex = 1;
            this.barButtonItem_19.LargeImageIndex = 3;
            this.barButtonItem_19.Name = "bbiUsers";
            this.barButtonItem_19.ItemClick += new ItemClickEventHandler(this.barButtonItem_19_ItemClick);
            this.barSubItem_0.Caption = "barSubItem1";
            this.barSubItem_0.Id = 0x12a;
            this.barSubItem_0.ImageIndex = 6;
            this.barSubItem_0.Name = "bbSkin";
            item7.Text = "Giao diện";
            tip7.Items.Add(item7);
            this.barSubItem_0.SuperTip = tip7;
            this.barSubItem_0.Popup += new EventHandler(this.barSubItem_0_Popup);
            this.barSubItem_1.Caption = "Cập Nhật Phần Mềm";
            this.barSubItem_1.Id = 0x12b;
            this.barSubItem_1.ImageIndex = 0x3d;
            this.barSubItem_1.LargeImageIndex = 0x20;
            this.barSubItem_1.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_20), new LinkPersistInfo(this.barButtonItem_21) });
            this.barSubItem_1.Name = "bbiUpdateGroup";
            item8.Text = "Cập nhật cho phần mềm, để phần mềm lu\x00f4n chạy ổn định";
            tip8.Items.Add(item8);
            this.barSubItem_1.SuperTip = tip8;
            this.barButtonItem_20.Caption = "Cập Nhật Trực Tuyến";
            this.barButtonItem_20.Id = 300;
            this.barButtonItem_20.ImageIndex = 0x56;
            this.barButtonItem_20.Name = "bbiUpdateOnline";
            this.barButtonItem_20.ItemClick += new ItemClickEventHandler(this.barButtonItem_20_ItemClick);
            this.barButtonItem_21.Caption = "Cập Nhật Th\x00f4ng Thường";
            this.barButtonItem_21.Id = 0x12d;
            this.barButtonItem_21.ImageIndex = 0x55;
            this.barButtonItem_21.Name = "bbiUpdateOffline";
            this.barButtonItem_21.ItemClick += new ItemClickEventHandler(this.barButtonItem_21_ItemClick);
            this.barButtonItem_22.Caption = "Nhập V\x00e0o Danh Mục";
            this.barButtonItem_22.Id = 0x12f;
            this.barButtonItem_22.ImageIndex = 0x57;
            this.barButtonItem_22.LargeImageIndex = 0x57;
            this.barButtonItem_22.Name = "bbiImportDic";
            tip9.AllowHtmlText = DefaultBoolean.True;
            tip9.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            tip9.Appearance.ForeColor = Color.Red;
            tip9.Appearance.Options.UseFont = true;
            tip9.Appearance.Options.UseForeColor = true;
            item9.Text = "Ch\x00fa \x00dd";
            item10.LeftIndent = 6;
            item10.Text = "Nhập dữ liệu từ file Excel  b\x00ean ngo\x00e0i v\x00e0o hệ thống danh mục. Vd: Khu Vực, Kh\x00e1ch H\x00e0ng, Nh\x00e0 Ph\x00e2n Phối..";
            tip9.Items.Add(item9);
            tip9.Items.Add(item10);
            this.barButtonItem_22.SuperTip = tip9;
            this.barSubItem_2.Caption = "Hướng Dẫn Sử Dụng";
            this.barSubItem_2.Id = 0x131;
            this.barSubItem_2.ImageIndex = 0x3e;
            this.barSubItem_2.LargeImageIndex = 0x1c;
            this.barSubItem_2.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_23), new LinkPersistInfo(this.barButtonItem_24) });
            this.barSubItem_2.Name = "bbiHelp2";
            this.barButtonItem_23.Caption = "T\x00e0i Liệu Hướng Dẫn";
            this.barButtonItem_23.Id = 0x132;
            this.barButtonItem_23.ImageIndex = 0x59;
            this.barButtonItem_23.LargeImageIndex = 0x59;
            this.barButtonItem_23.Name = "biiHelpNormal";
            this.barButtonItem_23.ItemClick += new ItemClickEventHandler(this.barButtonItem_23_ItemClick);
            this.barButtonItem_24.Caption = "Video Hướng Dẫn";
            this.barButtonItem_24.Id = 0x133;
            this.barButtonItem_24.ImageIndex = 90;
            this.barButtonItem_24.LargeImageIndex = 90;
            this.barButtonItem_24.Name = "biiHelpVideo";
            this.barButtonItem_24.ItemClick += new ItemClickEventHandler(this.barButtonItem_24_ItemClick);
            this.barButtonItem_25.Caption = "barButtonItem1";
            this.barButtonItem_25.Id = 0x134;
            this.barButtonItem_25.ImageIndex = 2;
            this.barButtonItem_25.ItemShortcut = new BarShortcut(Keys.F3);
            this.barButtonItem_25.Name = "bbiBackup1";
            item11.Text = "Sao lưu dữ liệu (F3)";
            tip10.Items.Add(item11);
            this.barButtonItem_25.SuperTip = tip10;
            this.barButtonItem_25.ItemClick += new ItemClickEventHandler(this.barButtonItem_25_ItemClick);
            this.barButtonItem_26.Caption = "barButtonItem2";
            this.barButtonItem_26.Id = 0x135;
            this.barButtonItem_26.ImageIndex = 0;
            this.barButtonItem_26.ItemShortcut = new BarShortcut(Keys.F4);
            this.barButtonItem_26.Name = "bbiRestore1";
            item12.Text = "Phục hồi dữ liệu (F4)";
            tip11.Items.Add(item12);
            this.barButtonItem_26.SuperTip = tip11;
            this.barButtonItem_26.ItemClick += new ItemClickEventHandler(this.barButtonItem_26_ItemClick);
            this.barMdiChildrenListItem_0.Caption = "barMdiChildrenListItem1";
            this.barMdiChildrenListItem_0.Id = 0x137;
            this.barMdiChildrenListItem_0.ImageIndex = 7;
            this.barMdiChildrenListItem_0.Name = "barMdiChildrenListItem1";
            item13.Text = "C\x00e1c tab đang mở";
            tip12.Items.Add(item13);
            this.barMdiChildrenListItem_0.SuperTip = tip12;
            this.barButtonItem_27.Caption = "barButtonItem3";
            this.barButtonItem_27.Id = 0x138;
            this.barButtonItem_27.ImageIndex = 1;
            this.barButtonItem_27.ItemShortcut = new BarShortcut(Keys.F1);
            this.barButtonItem_27.Name = "bbiHelp1";
            item14.Text = "Hướng dẫn sử dụng (F1)";
            tip13.Items.Add(item14);
            this.barButtonItem_27.SuperTip = tip13;
            this.barButtonItem_27.ItemClick += new ItemClickEventHandler(this.barButtonItem_27_ItemClick);
            this.barButtonItem_32.Id = 0x162;
            this.barButtonItem_32.Name = "bbiBranch";
            this.barButtonItem_33.Id = 0x163;
            this.barButtonItem_33.Name = "bbiDepartment";
            this.barButtonItem_34.Id = 0x164;
            this.barButtonItem_34.Name = "bbiGroup";
            this.barButtonItem_35.Caption = "Danh S\x00e1ch Ứng Vi\x00ean";
            this.barButtonItem_35.Id = 0x148;
            this.barButtonItem_35.LargeImageIndex = 13;
            this.barButtonItem_35.Name = "bbiCandidate";
            this.barButtonItem_35.ItemClick += new ItemClickEventHandler(this.barButtonItem_35_ItemClick);
            this.barButtonItem_36.Caption = "Danh S\x00e1ch Nh\x00e2n Vi\x00ean";
            this.barButtonItem_36.Id = 0x149;
            this.barButtonItem_36.LargeImageIndex = 14;
            this.barButtonItem_36.Name = "bbiEmployee";
            this.barButtonItem_36.ItemClick += new ItemClickEventHandler(this.barButtonItem_36_ItemClick);
            this.barButtonItem_37.Caption = "Theo Nh\x00e2n Vi\x00ean";
            this.barButtonItem_37.Id = 330;
            this.barButtonItem_37.LargeImageIndex = 0x11;
            this.barButtonItem_37.Name = "bbiProcess";
            this.barButtonItem_37.ItemClick += new ItemClickEventHandler(this.barButtonItem_37_ItemClick);
            this.barEditItem_0.Caption = "Nhập từ kh\x00f3a:";
            this.barEditItem_0.Edit = null;
            this.barEditItem_0.Id = 0x15f;
            this.barEditItem_0.Name = "barEditItem1";
            this.barEditItem_0.Width = 300;
            this.barEditItem_1.Appearance.Font = new Font("Tahoma", 9f);
            this.barEditItem_1.Appearance.Options.UseFont = true;
            this.barEditItem_1.Caption = "T\x00ecm Kiếm:";
            this.barEditItem_1.Edit = this.repositoryItemButtonEdit_0;
            this.barEditItem_1.Id = 0x160;
            this.barEditItem_1.Name = "bbiSearch";
            this.barEditItem_1.Width = 250;
            this.barEditItem_1.EditValueChanged += new EventHandler(this.barEditItem_1_EditValueChanged);
            this.repositoryItemButtonEdit_0.Appearance.Font = new Font("Tahoma", 9f, FontStyle.Italic);
            this.repositoryItemButtonEdit_0.Appearance.Options.UseFont = true;
            this.repositoryItemButtonEdit_0.AutoHeight = false;
            appearance.Font = new Font("Tahoma", 9f, FontStyle.Bold);
            appearance.Options.UseFont = true;
            appearance.Options.UseImage = true;
            appearance.Options.UseTextOptions = true;
            this.repositoryItemButtonEdit_0.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Glyph, "T\x00ecm", -1, true, true, false, ImageLocation.MiddleLeft, (Image) manager.GetObject("rpiSearch.Buttons"), new KeyShortcut(Keys.None), appearance, "", null, null, true) });
            this.repositoryItemButtonEdit_0.Name = "rpiSearch";
            this.repositoryItemButtonEdit_0.NullText = "[G\x00f5 v\x00e0o từ kh\x00f3a cần t\x00ecm]";
            this.repositoryItemButtonEdit_0.UseParentBackground = true;
            this.repositoryItemButtonEdit_0.KeyDown += new KeyEventHandler(this.repositoryItemButtonEdit_0_KeyDown);
            this.repositoryItemButtonEdit_0.ButtonClick += new ButtonPressedEventHandler(this.repositoryItemButtonEdit_0_ButtonClick);
            this.barButtonItem_38.Caption = "Danh Mục";
            this.barButtonItem_38.Id = 0x166;
            this.barButtonItem_38.LargeImageIndex = 12;
            this.barButtonItem_38.Name = "bbiDictionary";
            this.barButtonItem_38.ItemClick += new ItemClickEventHandler(this.barButtonItem_38_ItemClick);
            this.barButtonItem_39.Caption = "Mức Lương Tối Thiểu";
            this.barButtonItem_39.Id = 0x169;
            this.barButtonItem_39.LargeImageIndex = 0x18;
            this.barButtonItem_39.Name = "bbiMinSalary";
            this.barButtonItem_39.ItemClick += new ItemClickEventHandler(this.barButtonItem_39_ItemClick);
            this.barButtonItem_41.Caption = "Bảng Xếp Ca";
            this.barButtonItem_41.Id = 0x16e;
            this.barButtonItem_41.LargeImageIndex = 20;
            this.barButtonItem_41.Name = "bbiShiftOrder";
            this.barButtonItem_41.ItemClick += new ItemClickEventHandler(this.barButtonItem_41_ItemClick);
            this.barButtonItem_42.Caption = "Định Mức T\x00ednh Lương";
            this.barButtonItem_42.Id = 0x16f;
            this.barButtonItem_42.LargeImageIndex = 0x19;
            this.barButtonItem_42.Name = "bbiFormula";
            this.barButtonItem_42.ItemClick += new ItemClickEventHandler(this.barButtonItem_42_ItemClick);
            this.barButtonItem_43.Caption = "Hợp Đồng Lao Động";
            this.barButtonItem_43.Id = 0x170;
            this.barButtonItem_43.LargeImageIndex = 0x10;
            this.barButtonItem_43.Name = "bbiContract";
            this.barButtonItem_43.ItemClick += new ItemClickEventHandler(this.barButtonItem_43_ItemClick);
            this.barButtonItem_44.Caption = "Bảng Chấm C\x00f4ng Tăng Ca Theo Th\x00e1ng";
            this.barButtonItem_44.Id = 0x171;
            this.barButtonItem_44.ImageIndex = 0x12;
            this.barButtonItem_44.LargeImageIndex = 0x17;
            this.barButtonItem_44.Name = "bbiTimekeeperOverTime";
            this.barButtonItem_44.ItemClick += new ItemClickEventHandler(this.barButtonItem_44_ItemClick);
            this.barButtonItem_45.Caption = "Bảng T\x00ednh Lương Tăng Ca";
            this.barButtonItem_45.Id = 0x176;
            this.barButtonItem_45.Name = "bbiSalaryOverTime";
            this.barButtonItem_45.ItemClick += new ItemClickEventHandler(this.barButtonItem_45_ItemClick);
            this.barButtonItem_46.Caption = "Kết Nối M\x00e1y Chấm C\x00f4ng";
            this.barButtonItem_46.Id = 0x179;
            this.barButtonItem_46.LargeImageIndex = 0x15;
            this.barButtonItem_46.Name = "bbiConnectDevice";
            this.barButtonItem_46.ItemClick += new ItemClickEventHandler(this.barButtonItem_46_ItemClick);
            this.barButtonItem_47.Caption = "Bảng T\x00ednh Lương Th\x00e1ng";
            this.barButtonItem_47.Id = 0x17a;
            this.barButtonItem_47.Name = "bbiSalary";
            this.barButtonItem_47.ItemClick += new ItemClickEventHandler(this.barButtonItem_47_ItemClick);
            this.barButtonItem_48.Caption = "Thống K\x00ea";
            this.barButtonItem_48.Id = 0x17b;
            this.barButtonItem_48.LargeImageIndex = 11;
            this.barButtonItem_48.Name = "bbiTotalUp";
            this.barButtonItem_48.ItemClick += new ItemClickEventHandler(this.barButtonItem_48_ItemClick);
            this.barButtonItem_49.Caption = "Ph\x00e2n Quyền Người D\x00f9ng";
            this.barButtonItem_49.Id = 380;
            this.barButtonItem_49.LargeImageIndex = 4;
            this.barButtonItem_49.Name = "bbiPermission";
            this.barButtonItem_49.ItemClick += new ItemClickEventHandler(this.barButtonItem_49_ItemClick);
            this.barButtonItem_50.Caption = "C\x00e1c Đợt B\x00e1o C\x00e1o BHXH, BHYT";
            this.barButtonItem_50.Id = 0x17f;
            this.barButtonItem_50.LargeImageIndex = 0x11;
            this.barButtonItem_50.Name = "bbiInsurance";
            this.barButtonItem_50.ItemClick += new ItemClickEventHandler(this.barButtonItem_50_ItemClick);
            this.barEditItem_3.Edit = this.repositoryItemComboBox_0;
            this.barEditItem_3.EditValue = "Classic";
            this.barEditItem_3.Id = 390;
            this.barEditItem_3.Name = "bbiStyle";
            this.barEditItem_3.Width = 0x3e;
            this.barEditItem_3.EditValueChanged += new EventHandler(this.barEditItem_3_EditValueChanged);
            this.repositoryItemComboBox_0.AutoHeight = false;
            this.repositoryItemComboBox_0.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repositoryItemComboBox_0.HighlightedItemStyle = HighlightStyle.Skinned;
            this.repositoryItemComboBox_0.Items.AddRange(new object[] { "Classic", "Metro" });
            this.repositoryItemComboBox_0.Name = "repStyle";
            this.repositoryItemComboBox_0.TextEditStyle = TextEditStyles.DisableTextEditor;
            this.repositoryItemComboBox_0.UseParentBackground = true;
            this.barButtonItem_51.ButtonStyle = BarButtonStyle.DropDown;
            this.barButtonItem_51.Caption = "Th\x00f9ng R\x00e1c";
            this.barButtonItem_51.Hint = "Th\x00f9ng R\x00e1c";
            this.barButtonItem_51.Id = 0x187;
            this.barButtonItem_51.ImageIndex = 10;
            this.barButtonItem_51.Name = "bbiTrash";
            this.barButtonItem_51.PaintStyle = BarItemPaintStyle.CaptionGlyph;
            this.barButtonItem_51.RibbonStyle = RibbonItemStyles.SmallWithText;
            this.barButtonItem_51.Visibility = BarItemVisibility.Never;
            this.barButtonItem_51.ItemClick += new ItemClickEventHandler(this.barButtonItem_51_ItemClick);
            this.barSubItem_3.Caption = "Bảo Hiểm X\x00e3 Hội";
            this.barSubItem_3.Id = 0x18a;
            this.barSubItem_3.LargeImageIndex = 0x12;
            this.barSubItem_3.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_52), new LinkPersistInfo(this.barButtonItem_50), new LinkPersistInfo(this.barButtonItem_53), new LinkPersistInfo(this.barSubItem_4, true) });
            this.barSubItem_3.Name = "mnInsurance";
            this.barButtonItem_52.Caption = "Tờ Khai Tham Gia BHXH, BHYT";
            this.barButtonItem_52.Id = 0x18b;
            this.barButtonItem_52.Name = "bbiDeclaration";
            this.barButtonItem_52.ItemClick += new ItemClickEventHandler(this.barButtonItem_52_ItemClick);
            this.barButtonItem_53.Caption = "Thanh To\x00e1n Tiền Bảo Hiểm";
            this.barButtonItem_53.Id = 0x18c;
            this.barButtonItem_53.Name = "bbiPayInsurance";
            this.barButtonItem_53.ItemClick += new ItemClickEventHandler(this.barButtonItem_53_ItemClick);
            this.barSubItem_4.Caption = "Chế Độ && Ch\x00ednh S\x00e1ch Kh\x00e1c";
            this.barSubItem_4.Id = 0x19c;
            this.barSubItem_4.ImageIndex = 12;
            this.barSubItem_4.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_54), new LinkPersistInfo(this.barButtonItem_55), new LinkPersistInfo(this.barButtonItem_56), new LinkPersistInfo(this.barButtonItem_57, true) });
            this.barSubItem_4.Name = "mnPolicy";
            this.barButtonItem_54.Caption = "Khen Thưởng";
            this.barButtonItem_54.Id = 0x19f;
            this.barButtonItem_54.Name = "bbiReward";
            this.barButtonItem_54.ItemClick += new ItemClickEventHandler(this.barButtonItem_54_ItemClick);
            this.barButtonItem_55.Caption = "Kỷ Luật";
            this.barButtonItem_55.Id = 0x1a0;
            this.barButtonItem_55.Name = "bbiDiscipline";
            this.barButtonItem_55.ItemClick += new ItemClickEventHandler(this.barButtonItem_55_ItemClick);
            this.barButtonItem_56.Caption = "Đ\x00e0o Tạo";
            this.barButtonItem_56.Id = 0x1a1;
            this.barButtonItem_56.Name = "bbiTraining";
            this.barButtonItem_56.ItemClick += new ItemClickEventHandler(this.barButtonItem_56_ItemClick);
            this.barButtonItem_57.Caption = "Chương Tr\x00ecnh Ph\x00fac Lợi";
            this.barButtonItem_57.Id = 0x19d;
            this.barButtonItem_57.Name = "bbiWelfare";
            this.barButtonItem_57.ItemClick += new ItemClickEventHandler(this.barButtonItem_57_ItemClick);
            this.barStaticItem_7.Alignment = BarItemLinkAlignment.Right;
            this.barStaticItem_7.Caption = "INS";
            this.barStaticItem_7.Id = 0x199;
            this.barStaticItem_7.Name = "bbiOverwrite";
            this.barStaticItem_7.TextAlignment = StringAlignment.Near;
            this.barStaticItem_7.ItemClick += new ItemClickEventHandler(this.barStaticItem_7_ItemClick);
            this.barStaticItem_8.Alignment = BarItemLinkAlignment.Right;
            this.barStaticItem_8.Caption = "NUM";
            this.barStaticItem_8.Id = 410;
            this.barStaticItem_8.Name = "bbiNumlock";
            this.barStaticItem_8.TextAlignment = StringAlignment.Near;
            this.barStaticItem_8.ItemClick += new ItemClickEventHandler(this.barStaticItem_8_ItemClick);
            this.barStaticItem_9.Alignment = BarItemLinkAlignment.Right;
            this.barStaticItem_9.Caption = "CAPS";
            this.barStaticItem_9.Id = 0x19b;
            this.barStaticItem_9.Name = "bbiCapslock";
            this.barStaticItem_9.ShortcutKeyDisplayString = "CapsLock";
            this.barStaticItem_9.TextAlignment = StringAlignment.Near;
            this.barStaticItem_9.ItemClick += new ItemClickEventHandler(this.barStaticItem_9_ItemClick);
            this.barButtonItem_58.Caption = "Chấm C\x00f4ng Chi Tiết Theo Ng\x00e0y";
            this.barButtonItem_58.Id = 420;
            this.barButtonItem_58.ImageIndex = 0x13;
            this.barButtonItem_58.Name = "bbiTimekeeping";
            this.barButtonItem_58.ItemClick += new ItemClickEventHandler(this.barButtonItem_58_ItemClick);
            this.barButtonItem_59.Caption = "Quản L\x00fd C\x00f4ng Việc";
            this.barButtonItem_59.Id = 0x1a6;
            this.barButtonItem_59.LargeImageIndex = 15;
            this.barButtonItem_59.Name = "bbiWork";
            this.barButtonItem_59.ItemClick += new ItemClickEventHandler(this.barButtonItem_59_ItemClick);
            this.barSubItem_5.Caption = "Qu\x00e1 Tr\x00ecnh L\x00e0m Việc";
            this.barSubItem_5.Id = 0x1ab;
            this.barSubItem_5.LargeImageIndex = 0x11;
            this.barSubItem_5.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_37), new LinkPersistInfo(this.barButtonItem_60) });
            this.barSubItem_5.Name = "barSubItem1";
            this.barButtonItem_60.Caption = "Theo Danh S\x00e1ch";
            this.barButtonItem_60.Id = 0x1ac;
            this.barButtonItem_60.Name = "bbiProcessList";
            this.barButtonItem_60.ItemClick += new ItemClickEventHandler(this.barButtonItem_60_ItemClick);
            this.barButtonItem_61.Caption = "Bảng Thanh To\x00e1n Lương";
            this.barButtonItem_61.Id = 0x1ad;
            this.barButtonItem_61.ImageIndex = 12;
            this.barButtonItem_61.Name = "bbiSalaryPay";
            this.barButtonItem_61.ItemClick += new ItemClickEventHandler(this.barButtonItem_61_ItemClick);
            this.barButtonItem_62.Caption = "Cửa Sổ Ch\x00e0o Mừng!";
            this.barButtonItem_62.Id = 430;
            this.barButtonItem_62.LargeImageIndex = 0x22;
            this.barButtonItem_62.Name = "bbiWelcome";
            this.barButtonItem_62.ItemClick += new ItemClickEventHandler(this.barButtonItem_62_ItemClick);
            this.barButtonItem_64.Alignment = BarItemLinkAlignment.Right;
            this.barButtonItem_64.Hint = "Calculator";
            this.barButtonItem_64.Id = 0x1b0;
            this.barButtonItem_64.ImageIndex = 13;
            this.barButtonItem_64.Name = "bbiCalculator";
            this.barButtonItem_64.ItemClick += new ItemClickEventHandler(this.barButtonItem_64_ItemClick);
            this.barButtonItem_65.Caption = "Tổng Hợp Ng\x00e0y C\x00f4ng";
            this.barButtonItem_65.Id = 0x1b1;
            this.barButtonItem_65.LargeImageIndex = 0x17;
            this.barButtonItem_65.Name = "bbiTimekeeperTotal";
            this.barButtonItem_65.ItemClick += new ItemClickEventHandler(this.barButtonItem_65_ItemClick);
            this.barButtonItem_66.Caption = "Bảng Chấm C\x00f4ng Theo Th\x00e1ng";
            this.barButtonItem_66.Id = 0x1b2;
            this.barButtonItem_66.ImageIndex = 0x12;
            this.barButtonItem_66.Name = "bbiTimekeeperTable";
            this.barButtonItem_66.ItemClick += new ItemClickEventHandler(this.barButtonItem_66_ItemClick);
            this.barButtonItem_67.Caption = "Quyết To\x00e1n Thuế TNCN";
            this.barButtonItem_67.Id = 0x1b3;
            this.barButtonItem_67.Name = "bbiBalanceSheet";
            this.barButtonItem_67.Visibility = BarItemVisibility.Never;
            this.barButtonItem_67.ItemClick += new ItemClickEventHandler(this.barButtonItem_67_ItemClick);
            this.barSubItem_6.Caption = "Danh S\x00e1ch Nh\x00e2n Vi\x00ean";
            this.barSubItem_6.Id = 0x1b7;
            this.barSubItem_6.LargeImageIndex = 14;
            this.barSubItem_6.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_36), new LinkPersistInfo(this.barButtonItem_35) });
            this.barSubItem_6.Name = "bbiEmployee1";
            this.barSubItem_7.Caption = "Bảng Chấm C\x00f4ng Th\x00e1ng";
            this.barSubItem_7.Id = 0x1b9;
            this.barSubItem_7.LargeImageIndex = 0x16;
            this.barSubItem_7.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_58, true), new LinkPersistInfo(this.barButtonItem_66, true), new LinkPersistInfo(this.barButtonItem_44) });
            this.barSubItem_7.Name = "bbiTimekeeperTable1";
            this.barSubItem_8.Caption = "Bảng T\x00ednh Lương";
            this.barSubItem_8.Id = 0x1ba;
            this.barSubItem_8.LargeImageIndex = 0x1a;
            this.barSubItem_8.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(this.barButtonItem_47), new LinkPersistInfo(this.barButtonItem_45), new LinkPersistInfo(this.barButtonItem_61, true) });
            this.barSubItem_8.Name = "bbiSalary1";
            this.barEditItem_4.Caption = "Th\x00e1ng b\x00e1o c\x00e1o";
            this.barEditItem_4.Edit = this.repositoryItemDateEdit_0;
            this.barEditItem_4.Id = 0x1bb;
            this.barEditItem_4.Name = "bbeMonthDefault";
            this.barEditItem_4.Width = 0x48;
            this.barEditItem_4.EditValueChanged += new EventHandler(this.barEditItem_4_EditValueChanged);
            this.repositoryItemDateEdit_0.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.repositoryItemDateEdit_0.Appearance.Options.UseFont = true;
            this.repositoryItemDateEdit_0.AutoHeight = false;
            this.repositoryItemDateEdit_0.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repositoryItemDateEdit_0.Mask.EditMask = "MM/yyyy";
            this.repositoryItemDateEdit_0.Mask.UseMaskAsDisplayFormat = true;
            this.repositoryItemDateEdit_0.Name = "repositoryItemDateEdit1";
            this.repositoryItemDateEdit_0.UseParentBackground = true;
            this.repositoryItemDateEdit_0.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.imageCollection_1.ImageSize = new Size(0x20, 0x20);
            this.imageCollection_1.ImageStream = (ImageCollectionStreamer) manager.GetObject("imgClassic.ImageStream");
            this.imageCollection_1.Images.SetKeyName(0, "bbiClose.png");
            this.imageCollection_1.Images.SetKeyName(1, "bbiLogout.png");
            this.imageCollection_1.Images.SetKeyName(2, "bbiOption.png");
            this.imageCollection_1.Images.SetKeyName(3, "bbiUser.png");
            this.imageCollection_1.Images.SetKeyName(4, "bbiPermission.png");
            this.imageCollection_1.Images.SetKeyName(5, "bbiChangePassword.png");
            this.imageCollection_1.Images.SetKeyName(6, "bbiSyslog.png");
            this.imageCollection_1.Images.SetKeyName(7, "bbiBackup.png");
            this.imageCollection_1.Images.SetKeyName(8, "bbiRestore.png");
            this.imageCollection_1.Images.SetKeyName(9, "bbiFix.png");
            this.imageCollection_1.Images.SetKeyName(10, "bbiWorkdesk.png");
            this.imageCollection_1.Images.SetKeyName(11, "bbiTotalUp.png");
            this.imageCollection_1.Images.SetKeyName(12, "bbiDictionary.png");
            this.imageCollection_1.Images.SetKeyName(13, "bbiCandidate.png");
            this.imageCollection_1.Images.SetKeyName(14, "bbiEmployee.png");
            this.imageCollection_1.Images.SetKeyName(15, "bbiWork.png");
            this.imageCollection_1.Images.SetKeyName(0x10, "bbiContract.png");
            this.imageCollection_1.Images.SetKeyName(0x11, "bbiProgress.png");
            this.imageCollection_1.Images.SetKeyName(0x12, "bbiPolicy.png");
            this.imageCollection_1.Images.SetKeyName(0x13, "bbiDecide.png");
            this.imageCollection_1.Images.SetKeyName(20, "bbiShiftOrder.png");
            this.imageCollection_1.Images.SetKeyName(0x15, "bbiConnectDevice.png");
            this.imageCollection_1.Images.SetKeyName(0x16, "bbiTimekeeperTable.png");
            this.imageCollection_1.Images.SetKeyName(0x17, "bbiTimekeeperTableOvertime.png");
            this.imageCollection_1.Images.SetKeyName(0x18, "bbiMinimumSalary.png");
            this.imageCollection_1.Images.SetKeyName(0x19, "bbiFormula.png");
            this.imageCollection_1.Images.SetKeyName(0x1a, "bbiSalary.png");
            this.imageCollection_1.Images.SetKeyName(0x1b, "bbiHelp.png");
            this.imageCollection_1.Images.SetKeyName(0x1c, "bbiHelp2.png");
            this.imageCollection_1.Images.SetKeyName(0x1d, "bbiContact.png");
            this.imageCollection_1.Images.SetKeyName(30, "bbiWebsite.png");
            this.imageCollection_1.Images.SetKeyName(0x1f, "bbiRegister.png");
            this.imageCollection_1.Images.SetKeyName(0x20, "bbiUpdate.png");
            this.imageCollection_1.Images.SetKeyName(0x21, "bbiInformation.png");
            this.imageCollection_1.Images.SetKeyName(0x22, "bbiWelcome.png");
            this.imageCollection_1.Images.SetKeyName(0x23, "bbiDiagram.png");
            this.ribbonPage_2.Groups.AddRange(new RibbonPageGroup[] { this.ribbonPageGroup_6, this.ribbonPageGroup_5, this.ribbonPageGroup_7, this.ribbonPageGroup_8, this.ribbonPageGroup_9 });
            this.ribbonPage_2.Name = "rbpFunction";
            this.ribbonPage_2.Text = "Danh S\x00e1ch Chức Năng";
            this.ribbonPageGroup_6.ItemLinks.Add(this.barButtonItem_40, true);
            this.ribbonPageGroup_6.ItemLinks.Add(this.barButtonItem_48);
            this.ribbonPageGroup_6.ItemLinks.Add(this.barButtonItem_38, true);
            this.ribbonPageGroup_6.Name = "rbpgInitial";
            this.ribbonPageGroup_6.ShowCaptionButton = false;
            this.ribbonPageGroup_6.Text = "Tổng Hợp";
            this.ribbonPageGroup_5.ItemLinks.Add(this.barSubItem_6, true);
            this.ribbonPageGroup_5.ItemLinks.Add(this.barSubItem_5, true);
            this.ribbonPageGroup_5.ItemLinks.Add(this.barButtonItem_59);
            this.ribbonPageGroup_5.ItemLinks.Add(this.barButtonItem_43);
            this.ribbonPageGroup_5.ItemLinks.Add(this.barSubItem_3);
            this.ribbonPageGroup_5.Name = "rbpgEmployee";
            this.ribbonPageGroup_5.Text = "Hồ Sơ Nh\x00e2n Sự";
            this.ribbonPageGroup_5.CaptionButtonClick += new RibbonPageGroupEventHandler(this.ribbonPageGroup_5_CaptionButtonClick);
            this.ribbonPageGroup_7.ItemLinks.Add(this.barButtonItem_41);
            this.ribbonPageGroup_7.ItemLinks.Add(this.barButtonItem_46);
            this.ribbonPageGroup_7.ItemLinks.Add(this.barSubItem_7, true);
            this.ribbonPageGroup_7.ItemLinks.Add(this.barButtonItem_65);
            this.ribbonPageGroup_7.Name = "rbpgTimekeeper";
            this.ribbonPageGroup_7.Text = "Chấm C\x00f4ng";
            this.ribbonPageGroup_7.CaptionButtonClick += new RibbonPageGroupEventHandler(this.ribbonPageGroup_7_CaptionButtonClick);
            this.ribbonPageGroup_8.ItemLinks.Add(this.barButtonItem_39);
            this.ribbonPageGroup_8.ItemLinks.Add(this.barButtonItem_42);
            this.ribbonPageGroup_8.ItemLinks.Add(this.barSubItem_8, true);
            this.ribbonPageGroup_8.Name = "rbpgSalary";
            this.ribbonPageGroup_8.Text = "Tiền Lương";
            this.ribbonPageGroup_8.CaptionButtonClick += new RibbonPageGroupEventHandler(this.ribbonPageGroup_8_CaptionButtonClick);
            this.ribbonPageGroup_9.ItemLinks.Add(this.barEditItem_1);
            this.ribbonPageGroup_9.Name = "rbpgSearch1";
            this.ribbonPageGroup_9.ShowCaptionButton = false;
            this.ribbonPageGroup_9.Text = "T\x00ecm Kiếm";
            this.ribbonPage_0.Groups.AddRange(new RibbonPageGroup[] { this.ribbonPageGroup_3, this.ribbonPageGroup_2, this.ribbonPageGroup_4, this.ribbonPageGroup_13, this.ribbonPageGroup_10 });
            this.ribbonPage_0.Name = "rbpSystem";
            this.ribbonPage_0.Text = "Hệ Thống";
            this.ribbonPageGroup_3.ItemLinks.Add(this.barButtonItem_16, true);
            this.ribbonPageGroup_3.ItemLinks.Add(this.barButtonItem_15);
            this.ribbonPageGroup_3.ItemLinks.Add(this.barButtonItem_0, true);
            this.ribbonPageGroup_3.ItemLinks.Add(this.barButtonItem_63);
            this.ribbonPageGroup_3.KeyTip = "KE";
            this.ribbonPageGroup_3.Name = "rbpgClose";
            this.ribbonPageGroup_3.ShowCaptionButton = false;
            this.ribbonPageGroup_3.Text = "Hệ Thống";
            this.ribbonPageGroup_2.ItemLinks.Add(this.barButtonItem_19);
            this.ribbonPageGroup_2.ItemLinks.Add(this.barButtonItem_49);
            this.ribbonPageGroup_2.ItemLinks.Add(this.barButtonItem_14);
            this.ribbonPageGroup_2.ItemLinks.Add(this.barButtonItem_12);
            this.ribbonPageGroup_2.Name = "rbpgSecurity";
            this.ribbonPageGroup_2.ShowCaptionButton = false;
            this.ribbonPageGroup_2.Text = "Bảo Mật";
            this.ribbonPageGroup_4.ItemLinks.Add(this.barButtonItem_8);
            this.ribbonPageGroup_4.ItemLinks.Add(this.barButtonItem_9);
            this.ribbonPageGroup_4.Name = "rbpgDatabase";
            this.ribbonPageGroup_4.ShowCaptionButton = false;
            this.ribbonPageGroup_4.Text = "Dữ Liệu";
            this.ribbonPageGroup_13.ItemLinks.Add(this.barButtonItem_11);
            this.ribbonPageGroup_13.Name = "ribbonPageGroup2";
            this.ribbonPageGroup_13.ShowCaptionButton = false;
            this.ribbonPageGroup_13.Text = "T\x00f9y chọn";
            this.ribbonPageGroup_10.ItemLinks.Add(this.barEditItem_1);
            this.ribbonPageGroup_10.Name = "rbpgSearch";
            this.ribbonPageGroup_10.ShowCaptionButton = false;
            this.ribbonPageGroup_10.Text = "T\x00ecm Kiếm";
            this.ribbonPage_1.Groups.AddRange(new RibbonPageGroup[] { this.ribbonPageGroup_0, this.ribbonPageGroup_1, this.ribbonPageGroup_12 });
            this.ribbonPage_1.Name = "rbpHelp";
            this.ribbonPage_1.Text = "Trợ Gi\x00fap";
            this.ribbonPageGroup_0.ItemLinks.Add(this.barButtonItem_62);
            this.ribbonPageGroup_0.ItemLinks.Add(this.barButtonItem_2, true);
            this.ribbonPageGroup_0.ItemLinks.Add(this.barSubItem_2);
            this.ribbonPageGroup_0.ItemLinks.Add(this.barButtonItem_3);
            this.ribbonPageGroup_0.ItemLinks.Add(this.barButtonItem_4);
            this.ribbonPageGroup_0.Name = "rbpgHelp";
            this.ribbonPageGroup_0.ShowCaptionButton = false;
            this.ribbonPageGroup_0.Text = "Trợ Gi\x00fap";
            this.ribbonPageGroup_1.ItemLinks.Add(this.barButtonItem_5);
            this.ribbonPageGroup_1.ItemLinks.Add(this.barButtonItem_7);
            this.ribbonPageGroup_1.ItemLinks.Add(this.barSubItem_1);
            this.ribbonPageGroup_1.Name = "rbpgInfo";
            this.ribbonPageGroup_1.ShowCaptionButton = false;
            this.ribbonPageGroup_1.Text = "Th\x00f4ng Tin";
            this.ribbonPageGroup_12.ItemLinks.Add(this.barEditItem_1);
            this.ribbonPageGroup_12.Name = "rbpgSearch2";
            this.ribbonPageGroup_12.ShowCaptionButton = false;
            this.ribbonPageGroup_12.Text = "T\x00ecm Kiếm";
            this.ribbonStatusBar_0.ItemLinks.Add(this.barStaticItem_0);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barStaticItem_4, true);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barStaticItem_6, true);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barStaticItem_1, true, "", "", true);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barLinkContainerItem_0);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barStaticItem_7, true);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barStaticItem_8, true);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barStaticItem_9, true);
            this.ribbonStatusBar_0.ItemLinks.Add(this.barButtonItem_64);
            this.ribbonStatusBar_0.Location = new Point(0, 0x269);
            this.ribbonStatusBar_0.Name = "rbsMain";
            this.ribbonStatusBar_0.Ribbon = this.ribbonControl_0;
            this.ribbonStatusBar_0.Size = new Size(0x4ef, 0x19);
            this.popupMenu_5.ItemLinks.Add(this.barButtonItem_66);
            this.popupMenu_5.ItemLinks.Add(this.barButtonItem_44);
            this.popupMenu_5.Name = "ppTimekeeperTable";
            this.popupMenu_5.Ribbon = this.ribbonControl_0;
            this.popupMenu_3.ItemLinks.Add(this.barButtonItem_47);
            this.popupMenu_3.ItemLinks.Add(this.barButtonItem_45);
            this.popupMenu_3.ItemLinks.Add(this.barButtonItem_61, true);
            this.popupMenu_3.ItemLinks.Add(this.barButtonItem_67);
            this.popupMenu_3.Name = "ppSalary";
            this.popupMenu_3.Ribbon = this.ribbonControl_0;
            this.popupMenu_2.ItemLinks.Add(this.barButtonItem_58);
            this.popupMenu_2.ItemLinks.Add(this.barButtonItem_46);
            this.popupMenu_2.Name = "PPTimekeeper";
            this.popupMenu_2.Ribbon = this.ribbonControl_0;
            this.popupMenu_4.ItemLinks.Add(this.barButtonItem_36);
            this.popupMenu_4.ItemLinks.Add(this.barButtonItem_35);
            this.popupMenu_4.Name = "ppEmployee";
            this.popupMenu_4.Ribbon = this.ribbonControl_0;
            this.popupMenu_1.Name = "pmInit";
            this.popupMenu_1.Ribbon = this.ribbonControl_0;
            this.xtraTabbedMdiManager_0.ClosePageButtonShowMode = ClosePageButtonShowMode.InAllTabPagesAndTabControlHeader;
            this.xtraTabbedMdiManager_0.HeaderButtons = TabButtons.Default | TabButtons.Close | TabButtons.Next | TabButtons.Prev;
            this.xtraTabbedMdiManager_0.HeaderButtonsShowMode = TabButtonShowMode.Always;
            this.xtraTabbedMdiManager_0.HeaderOrientation = TabOrientation.Horizontal;
            this.xtraTabbedMdiManager_0.MdiParent = this;
            this.xtraTabbedMdiManager_0.SetNextMdiChildMode = SetNextMdiChildMode.Windows;
            this.xtraTabbedMdiManager_0.ShowHeaderFocus = DefaultBoolean.True;
            this.xtraTabbedMdiManager_0.ShowToolTips = DefaultBoolean.True;
            this.timer_0.Enabled = true;
            this.timer_0.Interval = 0x3e8;
            this.timer_0.Tick += new EventHandler(this.timer_0_Tick);
            this.barButtonItem_28.Caption = "barButtonItem4";
            this.barButtonItem_28.Id = 0x139;
            this.barButtonItem_28.LargeImageIndex = 0x11;
            this.barButtonItem_28.Name = "barButtonItem12";
            this.barButtonItem_29.Caption = "barButtonItem4";
            this.barButtonItem_29.Id = 0x139;
            this.barButtonItem_29.LargeImageIndex = 0x11;
            this.barButtonItem_29.Name = "barButtonItem13";
            this.barButtonItem_30.Caption = "barButtonItem4";
            this.barButtonItem_30.Id = 0x139;
            this.barButtonItem_30.LargeImageIndex = 0x11;
            this.barButtonItem_30.Name = "barButtonItem14";
            this.barButtonItem_31.Caption = "barButtonItem4";
            this.barButtonItem_31.Id = 0x139;
            this.barButtonItem_31.LargeImageIndex = 0x11;
            this.barButtonItem_31.Name = "barButtonItem15";
            this.ribbonPageGroup_11.ItemLinks.Add(this.barEditItem_1);
            this.ribbonPageGroup_11.Name = "ribbonPageGroup1";
            this.ribbonPageGroup_11.Text = "T\x00ecm Kiếm";
            this.barEditItem_2.Appearance.Font = new Font("Tahoma", 9f);
            this.barEditItem_2.Appearance.Options.UseFont = true;
            this.barEditItem_2.Caption = "T\x00ecm Kiếm:";
            this.barEditItem_2.Edit = this.repositoryItemButtonEdit_0;
            this.barEditItem_2.Id = 0x160;
            this.barEditItem_2.Name = "barEditItem2";
            this.barEditItem_2.Width = 300;
            this.alertControl_0.AutoFormDelay = 0x7530;
            this.imageCollection_2.ImageSize = new Size(0x20, 0x20);
            this.imageCollection_2.ImageStream = (ImageCollectionStreamer) manager.GetObject("imgMetro.ImageStream");
            this.imageCollection_2.Images.SetKeyName(0, "bbiClose.png");
            this.imageCollection_2.Images.SetKeyName(1, "bbiLogout.png");
            this.imageCollection_2.Images.SetKeyName(2, "bbiOption.png");
            this.imageCollection_2.Images.SetKeyName(3, "bbiUser.png");
            this.imageCollection_2.Images.SetKeyName(4, "bbiPermission.png");
            this.imageCollection_2.Images.SetKeyName(5, "bbiChangePassword.png");
            this.imageCollection_2.Images.SetKeyName(6, "bbiSyslog.png");
            this.imageCollection_2.Images.SetKeyName(7, "bbiBackup.png");
            this.imageCollection_2.Images.SetKeyName(8, "bbiRestore.png");
            this.imageCollection_2.Images.SetKeyName(9, "bbiFix.png");
            this.imageCollection_2.Images.SetKeyName(10, "bbiWorkdesk.png");
            this.imageCollection_2.Images.SetKeyName(11, "bbiTotalUp.png");
            this.imageCollection_2.Images.SetKeyName(12, "bbiDictionary.png");
            this.imageCollection_2.Images.SetKeyName(13, "bbiCandidate.png");
            this.imageCollection_2.Images.SetKeyName(14, "bbiEmployee.png");
            this.imageCollection_2.Images.SetKeyName(15, "bbiWork.png");
            this.imageCollection_2.Images.SetKeyName(0x10, "bbiContract.png");
            this.imageCollection_2.Images.SetKeyName(0x11, "bbiProcess.png");
            this.imageCollection_2.Images.SetKeyName(0x12, "bbiPolicy.png");
            this.imageCollection_2.Images.SetKeyName(0x13, "bbiDecide.png");
            this.imageCollection_2.Images.SetKeyName(20, "bbiShiftOrder.png");
            this.imageCollection_2.Images.SetKeyName(0x15, "bbiConnectDevice.png");
            this.imageCollection_2.Images.SetKeyName(0x16, "bbiTimekeeperTable.png");
            this.imageCollection_2.Images.SetKeyName(0x17, "bbiTimekeeperOvertime.png");
            this.imageCollection_2.Images.SetKeyName(0x18, "bbiMinimumSalary.png");
            this.imageCollection_2.Images.SetKeyName(0x19, "bbiFormula.png");
            this.imageCollection_2.Images.SetKeyName(0x1a, "bbiSalary.png");
            this.imageCollection_2.Images.SetKeyName(0x1b, "bbiHelp.png");
            this.imageCollection_2.Images.SetKeyName(0x1c, "bbiHelp2.png");
            this.imageCollection_2.Images.SetKeyName(0x1d, "bbiContact.png");
            this.imageCollection_2.Images.SetKeyName(30, "bbiWebsite.png");
            this.imageCollection_2.Images.SetKeyName(0x1f, "bbiRegister.png");
            this.imageCollection_2.Images.SetKeyName(0x20, "bbiUpdate.png");
            this.imageCollection_2.Images.SetKeyName(0x21, "bbiInformation.png");
            this.imageCollection_2.Images.SetKeyName(0x22, "Welcome.png");
            this.imageCollection_2.Images.SetKeyName(0x23, "bbiDiagram.png");
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x4ef, 0x282);
            base.Controls.Add(this.popupControlContainer_0);
            base.Controls.Add(this.ribbonStatusBar_0);
            base.Controls.Add(this.ribbonControl_0);
            base.Icon = (Icon) manager.GetObject("$this.Icon");
            base.IsMdiContainer = true;
            base.KeyPreview = true;
            this.MinimumSize = new Size(600, 450);
            base.Name = "frmMain";
            this.Ribbon = this.ribbonControl_0;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.StatusBar = this.ribbonStatusBar_0;
            this.Text = "Phần Mềm Quản L\x00fd Nh\x00e2n Sự 2012";
            base.Load += new EventHandler(this.Form0_Load);
            base.KeyUp += new KeyEventHandler(this.Form0_KeyUp);
            base.FormClosing += new FormClosingEventHandler(this.Form0_FormClosing);
            this.ribbonControl_0.EndInit();
            this.applicationMenu_0.EndInit();
            this.popupControlContainer_0.EndInit();
            this.popupControlContainer_0.ResumeLayout(false);
            this.panelControl_0.EndInit();
            this.panelControl_0.ResumeLayout(false);
            this.xtraScrollableControl_0.ResumeLayout(false);
            this.xtraScrollableControl_0.PerformLayout();
            this.imageCollection_0.EndInit();
            this.popupMenu_0.EndInit();
            this.repositoryItemButtonEdit_0.EndInit();
            this.repositoryItemComboBox_0.EndInit();
            this.repositoryItemDateEdit_0.VistaTimeProperties.EndInit();
            this.repositoryItemDateEdit_0.EndInit();
            this.imageCollection_1.EndInit();
            this.popupMenu_5.EndInit();
            this.popupMenu_3.EndInit();
            this.popupMenu_2.EndInit();
            this.popupMenu_4.EndInit();
            this.popupMenu_1.EndInit();
            ((ISupportInitialize) this.xtraTabbedMdiManager_0).EndInit();
            this.imageCollection_2.EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void method_1()
        {
            this.ribbonPage_0.Text = MultiLanguages.GetString("tbl_Main", "System", this.ribbonPage_0.Text);
            this.ribbonPage_2.Text = MultiLanguages.GetString("tbl_Main", "FunctionList", this.ribbonPage_2.Text);
            this.ribbonPage_1.Text = MultiLanguages.GetString("tbl_Main", "Help", this.ribbonPage_1.Text);
            this.ribbonPageGroup_3.Text = MultiLanguages.GetString("tbl_Main", "System", this.ribbonPageGroup_3.Text);
            this.ribbonPageGroup_2.Text = MultiLanguages.GetString("tbl_Main", "Security", this.ribbonPageGroup_2.Text);
            this.ribbonPageGroup_4.Text = MultiLanguages.GetString("tbl_Main", "Database", this.ribbonPageGroup_4.Text);
            this.ribbonPageGroup_10.Text = MultiLanguages.GetString("tbl_Main", "Search", this.ribbonPageGroup_10.Text);
            this.ribbonPageGroup_6.Text = MultiLanguages.GetString("tbl_Main", "Synthesis", this.ribbonPageGroup_6.Text);
            this.ribbonPageGroup_5.Text = MultiLanguages.GetString("tbl_Main", "Profile", this.ribbonPageGroup_5.Text);
            this.ribbonPageGroup_7.Text = MultiLanguages.GetString("tbl_Main", "Attendance", this.ribbonPageGroup_7.Text);
            this.ribbonPageGroup_8.Text = MultiLanguages.GetString("tbl_Main", "Payroll", this.ribbonPageGroup_8.Text);
            this.ribbonPageGroup_9.Text = MultiLanguages.GetString("tbl_Main", "Search", this.ribbonPageGroup_9.Text);
            this.ribbonPageGroup_0.Text = MultiLanguages.GetString("tbl_Main", "Help", this.ribbonPageGroup_0.Text);
            this.ribbonPageGroup_1.Text = MultiLanguages.GetString("tbl_Main", "Information", this.ribbonPageGroup_1.Text);
            this.ribbonPageGroup_12.Text = MultiLanguages.GetString("tbl_Main", "Search", this.ribbonPageGroup_12.Text);
            this.barButtonItem_16.Caption = MultiLanguages.GetString("tbl_Main", "CloseTheProgram", this.barButtonItem_16.Caption);
            this.barButtonItem_15.Caption = MultiLanguages.GetString("tbl_Main", "Logout", "Đăng Xuất");
            this.barButtonItem_0.Caption = MultiLanguages.GetString("tbl_Main", "CompanyInformation", this.barButtonItem_0.Caption);
            this.barButtonItem_19.Caption = MultiLanguages.GetString("tbl_Main", "UserManager", this.barButtonItem_19.Caption);
            this.barButtonItem_49.Caption = MultiLanguages.GetString("tbl_Main", "Permission", this.barButtonItem_49.Caption);
            this.barButtonItem_14.Caption = MultiLanguages.GetString("tbl_Main", "ChangePassword", this.barButtonItem_14.Caption);
            this.barButtonItem_12.Caption = MultiLanguages.GetString("tbl_Main", "SystemLog", this.barButtonItem_12.Caption);
            this.barButtonItem_8.Caption = MultiLanguages.GetString("tbl_Main", "Backup", this.barButtonItem_8.Caption);
            this.barButtonItem_9.Caption = MultiLanguages.GetString("tbl_Main", "Restore", this.barButtonItem_9.Caption);
            this.barButtonItem_11.Caption = MultiLanguages.GetString("tbl_Main", "Fix", this.barButtonItem_11.Caption);
            this.barButtonItem_2.Caption = MultiLanguages.GetString("tbl_Main", "UserGuide", this.barButtonItem_2.Caption);
            this.barSubItem_2.Caption = MultiLanguages.GetString("tbl_Main", "UserGuide", this.barSubItem_2.Caption);
            this.barButtonItem_3.Caption = MultiLanguages.GetString("tbl_Main", "Contact", this.barButtonItem_3.Caption);
            this.barButtonItem_5.Caption = MultiLanguages.GetString("tbl_Main", "Register", this.barButtonItem_5.Caption);
            this.barButtonItem_7.Caption = MultiLanguages.GetString("tbl_Main", "About", this.barButtonItem_7.Caption);
            this.barSubItem_1.Caption = MultiLanguages.GetString("tbl_Main", "Update", this.barSubItem_1.Caption);
            this.barButtonItem_40.Caption = MultiLanguages.GetString("tbl_Main", "DashBoard", this.barButtonItem_40.Caption);
            this.barButtonItem_38.Caption = MultiLanguages.GetString("tbl_Main", "Dictionary", this.barButtonItem_38.Caption);
            this.barButtonItem_48.Caption = MultiLanguages.GetString("tbl_Main", "Statistics", this.barButtonItem_48.Caption);
            this.barButtonItem_35.Caption = MultiLanguages.GetString("tbl_Main", "CandidateList", this.barButtonItem_35.Caption);
            this.barButtonItem_36.Caption = MultiLanguages.GetString("tbl_Main", "EmployeeList", this.barButtonItem_36.Caption);
            this.barSubItem_6.Caption = MultiLanguages.GetString("tbl_Main", "EmployeeList", this.barSubItem_6.Caption);
            this.barButtonItem_43.Caption = MultiLanguages.GetString("tbl_Main", "LaborContract", this.barButtonItem_43.Caption);
            this.barButtonItem_37.Caption = MultiLanguages.GetString("tbl_Main", "WorkProcess", this.barButtonItem_37.Caption);
            this.barSubItem_3.Caption = MultiLanguages.GetString("tbl_Main", "SocialInsurance", this.barSubItem_3.Caption);
            this.barButtonItem_59.Caption = MultiLanguages.GetString("tbl_Main", "WorkManagement", this.barButtonItem_59.Caption);
            this.barButtonItem_52.Caption = MultiLanguages.GetString("tbl_Main", "DeclarationSI", this.barButtonItem_52.Caption);
            this.barButtonItem_50.Caption = MultiLanguages.GetString("tbl_Main", "ReportSI", this.barButtonItem_50.Caption);
            this.barButtonItem_53.Caption = MultiLanguages.GetString("tbl_Main", "PaymentSI", this.barButtonItem_53.Caption);
            this.barSubItem_4.Caption = MultiLanguages.GetString("tbl_Main", "Policy", this.barSubItem_4.Caption);
            this.barButtonItem_57.Caption = MultiLanguages.GetString("tbl_Main", "Welfare", this.barButtonItem_57.Caption);
            this.barButtonItem_46.Caption = MultiLanguages.GetString("tbl_Main", "ConnectDevice", this.barButtonItem_46.Caption);
            this.barButtonItem_41.Caption = MultiLanguages.GetString("tbl_Main", "ShiftOrder", this.barButtonItem_41.Caption);
            this.barButtonItem_58.Caption = MultiLanguages.GetString("tbl_Main", "TimesheetsByDate", this.barButtonItem_58.Caption);
            this.barButtonItem_66.Caption = MultiLanguages.GetString("tbl_Main", "TimesheetsByMonth", this.barButtonItem_66.Caption);
            this.barButtonItem_44.Caption = MultiLanguages.GetString("tbl_Main", "TimesheetsOverTimeByMonth", this.barButtonItem_44.Caption);
            this.barButtonItem_39.Caption = MultiLanguages.GetString("tbl_Main", "MinimumSalary", this.barButtonItem_39.Caption);
            this.barButtonItem_42.Caption = MultiLanguages.GetString("tbl_Main", "SalaryFormula", this.barButtonItem_42.Caption);
            this.barButtonItem_47.Caption = MultiLanguages.GetString("tbl_Main", "Payroll", this.barButtonItem_47.Caption);
            this.barButtonItem_47.Caption = MultiLanguages.GetString("tbl_Main", "Payroll", this.barButtonItem_47.Caption);
            this.barButtonItem_45.Caption = MultiLanguages.GetString("tbl_Main", "PayrollOverTime", this.barButtonItem_45.Caption);
            this.barEditItem_1.Caption = MultiLanguages.GetString("tbl_Main", "Search", this.barEditItem_1.Caption);
            this.barEditItem_1.Edit.NullText = MultiLanguages.GetString("tbl_Main", "TypeKeyword", this.barEditItem_1.Edit.NullText);
        }

        private string method_10()
        {
            try
            {
                DataSet set = new DataSet();
                set.ReadXml(this.string_0);
                return set.Tables[0].Rows[0][1].ToString();
            }
            catch
            {
                return "Classic";
            }
        }

        private void method_11(string string_2, string string_3)
        {
            try
            {
                DataSet set = new DataSet();
                using (DataTable table = new DataTable())
                {
                    table.Columns.Add("Theme", typeof(string));
                    table.Columns.Add("Style", typeof(string));
                    object[] objArray2 = new object[] { string_2, string_3 };
                    table.Rows.Add(new object[0]);
                    table.Rows[0][0] = objArray2[0];
                    table.Rows[0][1] = objArray2[1];
                    set.Tables.Add(table);
                }
                set.WriteXml(this.string_0);
            }
            catch
            {
            }
        }

        private void method_12()
        {
            try
            {
                DataSet set = new DataSet();
                set.ReadXml(this.string_1);
                foreach (DataRow row in set.Tables[0].Rows)
                {
                    this.method_15(row[1].ToString(), "");
                }
            }
            catch
            {
            }
        }

        private void method_13(object object_0)
        {
            this.method_15("xfmOutwardList", "");
        }

        private void method_14(string string_2, string string_3)
        {
            string str = string_3;
            if (str != null)
            {
                if (!(str == "1"))
                {
                    if (!(str == "2"))
                    {
                        goto Label_0043;
                    }
                    this.method_15("xfmOutward", "");
                }
                else
                {
                    this.method_15("xfmInward", "");
                }
                return;
            }
        Label_0043:
            this.method_15("xfmTransfer", "");
        }

        private unsafe void method_15(string string_2, string string_3)
        {
            int valuek = 0;
            xfmDiagram.ItemClickedEventHander hander = null;
            FormClosingEventHandler handler = null;
            FormClosingEventHandler handler2 = null;
            FormClosingEventHandler handler3 = null;
            FormClosingEventHandler handler4 = null;
            FormClosingEventHandler handler5 = null;
            FormClosingEventHandler handler6 = null;
            FormClosingEventHandler handler7 = null;
            FormClosingEventHandler handler8 = null;
            xfmSalary.PayEventHander hander2 = null;
            FormClosingEventHandler handler9 = null;
            FormClosingEventHandler handler10 = null;
            string key = string_2;
            if (key != null)
            {
                if (Class1.dictionary_0 == null)
                {
                    Dictionary<string, int> dictionary1 = new Dictionary<string, int>(0x22);
                    dictionary1.Add("xfmUsers", 0);
                    dictionary1.Add("xfmPermision", 1);
                    dictionary1.Add("xfmGroups", 2);
                    dictionary1.Add("xfmSysLog", 3);
                    dictionary1.Add("xfmWorkdesk", 4);
                    dictionary1.Add("xfmReportUI", 5);
                    dictionary1.Add("xfmDiagram", 6);
                    dictionary1.Add("xfmDictionary", 7);
                    dictionary1.Add("xfmCandidate", 8);
                    dictionary1.Add("xfmEmployee", 9);
                    dictionary1.Add("xfmContract", 10);
                    dictionary1.Add("xfmProcess", 11);
                    dictionary1.Add("xfmProcessList", 12);
                    dictionary1.Add("xfmWork", 13);
                    dictionary1.Add("xfmInsurance", 14);
                    dictionary1.Add("xfmDeclaration", 15);
                    dictionary1.Add("xfmPayInsurance", 0x10);
                    dictionary1.Add("xfmWelfare", 0x11);
                    dictionary1.Add("xfmReward", 0x12);
                    dictionary1.Add("xfmDiscipline", 0x13);
                    dictionary1.Add("xfmTraining", 20);
                    dictionary1.Add("xfmShiftOrder", 0x15);
                    dictionary1.Add("xfmTimekeeping", 0x16);
                    dictionary1.Add("xfmAtt", 0x17);
                    dictionary1.Add("xfmTimekeeperTable", 0x18);
                    dictionary1.Add("xfmTimekeeperOverTime", 0x19);
                    dictionary1.Add("xfmTimekeeperTotal", 0x1a);
                    dictionary1.Add("xfmSalary", 0x1b);
                    dictionary1.Add("xfmSalaryOverTime", 0x1c);
                    dictionary1.Add("xfmSalaryPay", 0x1d);
                    dictionary1.Add("xfmBalanceSheet", 30);
                    dictionary1.Add("xfmTotalUp", 0x1f);
                    dictionary1.Add("xfmSearch", 0x20);
                    dictionary1.Add("xfmBrowser", 0x21);
                    Class1.dictionary_0 = dictionary1;
                }
                if (Class1.dictionary_0.TryGetValue(key, out valuek))
                {
                    switch (valuek)
                    {
                        case 0:
                            SYS_LOG.Insert("Quản L\x00fd Người D\x00f9ng", "Xem");
                            if(this.xfmUsers_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmUsers_0].MdiChild.Activate();
                            }
                            else
                            {
                                xfmUsers users = new xfmUsers {
                                    MdiParent = this
                                };
                                this.xfmUsers_0 = users;
                                this.xfmUsers_0.FormClosing += new FormClosingEventHandler(this.xfmUsers_0_FormClosing);
                                this.xfmUsers_0.Show();
                            }
                            this.xfmUsers_0.IsSearch = false;
                            return;

                        case 1:
                        {
                            SYS_LOG.Insert("Ph\x00e2n Quyền Người D\x00f9ng", "Xem");
                            if (this.xfmPermision_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmPermision_0].MdiChild.Activate();
                                break;
                            }
                            xfmPermision permision = new xfmPermision {
                                MdiParent = this
                            };
                            this.xfmPermision_0 = permision;
                            this.xfmPermision_0.FormClosing += new FormClosingEventHandler(this.xfmPermision_0_FormClosing);
                            this.xfmPermision_0.Show();
                            break;
                        }
                        case 2:
                            SYS_LOG.Insert("Quản L\x00fd Vai Tr\x00f2", "Xem");
                            if (this.xfmGroups_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmGroups_0].MdiChild.Activate();
                            }
                            else
                            {
                                xfmGroups groups = new xfmGroups {
                                    MdiParent = this
                                };
                                this.xfmGroups_0 = groups;
                                this.xfmGroups_0.FormClosing += new FormClosingEventHandler(this.xfmGroups_0_FormClosing);
                                this.xfmGroups_0.Show();
                            }
                            this.xfmGroups_0.IsSearch = false;
                            return;

                        case 3:
                        {
                            SYS_LOG.Insert("Nhật K\x00fd Hệ Thống", "Xem");
                            if (this.xfmSysLog_0  != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmSysLog_0].MdiChild.Activate();
                                break;
                            }
                            XfmSysLog log = new XfmSysLog {
                                MdiParent = this
                            };
                            this.xfmSysLog_0 = log;
                            this.xfmSysLog_0.FormClosing += new FormClosingEventHandler(this.xfmSysLog_0_FormClosing);
                            this.xfmSysLog_0.Show();
                            break;
                        }
                        case 4:
                        {
                            SYS_LOG.Insert("B\x00e0n L\x00e0m Việc", "Xem");
                            if(this.xfmWorkdesk_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmWorkdesk_0].MdiChild.Activate();
                                break;
                            }
                            xfmWorkdesk workdesk = new xfmWorkdesk {
                                MdiParent = this
                            };
                            this.xfmWorkdesk_0 = workdesk;
                            this.xfmWorkdesk_0.FormClosing += new FormClosingEventHandler(this.xfmWorkdesk_0_FormClosing);
                            this.xfmWorkdesk_0.Show();
                            break;
                        }
                        case 5:
                        {
                            SYS_LOG.Insert("B\x00e1o C\x00e1o", "Xem");
                            if(this.xfmReportUI_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmReportUI_0].MdiChild.Activate();
                                break;
                            }
                            xfmReportUI tui = new xfmReportUI {
                                MdiParent = this
                            };
                            this.xfmReportUI_0 = tui;
                            this.xfmReportUI_0.FormClosing += new FormClosingEventHandler(this.xfmReportUI_0_FormClosing);
                            this.xfmReportUI_0.Show();
                            break;
                        }
                        case 6:
                            SYS_LOG.Insert("B\x00e0n L\x00e0m Việc", "Xem");
                            if(this.xfmDiagram_0 != null)
                            {
                                xfmDiagram diagram = new xfmDiagram {
                                    MdiParent = this
                                };
                                this.xfmDiagram_0 = diagram;
                                if (hander == null)
                                {
                                    hander = new xfmDiagram.ItemClickedEventHander(this.method_32);
                                }
                                this.xfmDiagram_0.ItemClicked += hander;
                                if (handler == null)
                                {
                                    handler = new FormClosingEventHandler(this.method_33);
                                }
                                this.xfmDiagram_0.FormClosing += handler;
                                this.xfmDiagram_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmDiagram_0].MdiChild.Activate();
                            }
                            break;

                        case 7:
                        {
                            SYS_LOG.Insert("Danh Mục Chương Tr\x00ecnh", "Xem");
                            if(this.xfmDictionary_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmDictionary_0].MdiChild.Activate();
                                break;
                            }
                            xfmDictionary dictionary = new xfmDictionary {
                                MdiParent = this
                            };
                            this.xfmDictionary_0 = dictionary;
                            this.xfmDictionary_0.FormClosing += new FormClosingEventHandler(this.xfmDictionary_0_FormClosing);
                            this.xfmDictionary_0.Show();
                            break;
                        }
                        case 8:
                        {
                            SYS_LOG.Insert("Danh S\x00e1ch Ứng Vi\x00ean", "Xem");
                            if(this.xfmCandidate_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmCandidate_0].MdiChild.Activate();
                                break;
                            }
                            xfmCandidate candidate = new xfmCandidate {
                                MdiParent = this
                            };
                            this.xfmCandidate_0 = candidate;
                            this.xfmCandidate_0.FormClosing += new FormClosingEventHandler(this.xfmCandidate_0_FormClosing);
                            this.xfmCandidate_0.Show();
                            break;
                        }
                        case 9:
                        {
                            SYS_LOG.Insert("Danh S\x00e1ch Nh\x00e2n Vi\x00ean", "Xem");
                            if(this.xfmEmployee_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmEmployee_0].MdiChild.Activate();
                                break;
                            }
                            xfmEmployee employee = new xfmEmployee {
                                MdiParent = this
                            };
                            this.xfmEmployee_0 = employee;
                            this.xfmEmployee_0.FormClosing += new FormClosingEventHandler(this.xfmEmployee_0_FormClosing);
                            this.xfmEmployee_0.Show();
                            break;
                        }
                        case 10:
                        {
                            SYS_LOG.Insert("Hợp Đồng Nh\x00e2n Vi\x00ean", "Xem");
                            if(this.xfmContract_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmContract_0].MdiChild.Activate();
                                break;
                            }
                            xfmContract contract = new xfmContract {
                                MdiParent = this
                            };
                            this.xfmContract_0 = contract;
                            this.xfmContract_0.FormClosing += new FormClosingEventHandler(this.xfmContract_0_FormClosing);
                            this.xfmContract_0.Show();
                            break;
                        }
                        case 11:
                        {
                            SYS_LOG.Insert("Qu\x00e1 Tr\x00ecnh L\x00e0m Việc", "Xem");
                            if(this.xfmProcess_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmProcess_0].MdiChild.Activate();
                                break;
                            }
                            xfmProcess process = new xfmProcess {
                                MdiParent = this
                            };
                            this.xfmProcess_0 = process;
                            this.xfmProcess_0.FormClosing += new FormClosingEventHandler(this.xfmProcess_0_FormClosing);
                            this.xfmProcess_0.Show();
                            break;
                        }
                        case 12:
                            SYS_LOG.Insert("Qu\x00e1 Tr\x00ecnh L\x00e0m Việc", "Xem");
                            if(this.xfmProcessList_0 != null)
                            {
                                xfmProcessList list = new xfmProcessList {
                                    MdiParent = this
                                };
                                this.xfmProcessList_0 = list;
                                if (handler2 == null)
                                {
                                    handler2 = new FormClosingEventHandler(this.method_34);
                                }
                                this.xfmProcessList_0.FormClosing += handler2;
                                this.xfmProcessList_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmProcessList_0].MdiChild.Activate();
                            }
                            break;

                        case 13:
                            SYS_LOG.Insert("Quản L\x00fd C\x00f4ng Việc", "Xem");
                            if(this.xfmWork_0 != null)
                            {
                                xfmWork work = new xfmWork {
                                    MdiParent = this
                                };
                                this.xfmWork_0 = work;
                                if (handler3 == null)
                                {
                                    handler3 = new FormClosingEventHandler(this.method_35);
                                }
                                this.xfmWork_0.FormClosing += handler3;
                                this.xfmWork_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmWork_0].MdiChild.Activate();
                            }
                            break;

                        case 14:
                        {
                            SYS_LOG.Insert("Bảo Hiểm X\x00e3 Hội", "Xem");
                            if(this.xfmInsurance_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmInsurance_0].MdiChild.Activate();
                                break;
                            }
                            HRM.CORE.xfmInsurance insurance = new HRM.CORE.xfmInsurance {
                                MdiParent = this
                            };
                            this.xfmInsurance_0 = insurance;
                            this.xfmInsurance_0.FormClosing += new FormClosingEventHandler(this.xfmInsurance_0_FormClosing);
                            this.xfmInsurance_0.Show();
                            break;
                        }
                        case 15:
                        {
                            SYS_LOG.Insert("C\x00e1c Chế Độ V\x00e0 Ch\x00ednh S\x00e1ch", "Xem");
                            if(this.xfmDeclaration_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmDeclaration_0].MdiChild.Activate();
                                break;
                            }
                            xfmDeclaration declaration = new xfmDeclaration {
                                MdiParent = this
                            };
                            this.xfmDeclaration_0 = declaration;
                            this.xfmDeclaration_0.FormClosing += new FormClosingEventHandler(this.xfmDeclaration_0_FormClosing);
                            this.xfmDeclaration_0.Show();
                            break;
                        }
                        case 0x10:
                        {
                            SYS_LOG.Insert("C\x00e1c Chế Độ V\x00e0 Ch\x00ednh S\x00e1ch", "Xem");
                            if(this.xfmPayInsurance_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmPayInsurance_0].MdiChild.Activate();
                                break;
                            }
                            xfmPayInsurance insurance2 = new xfmPayInsurance {
                                MdiParent = this
                            };
                            this.xfmPayInsurance_0 = insurance2;
                            this.xfmPayInsurance_0.FormClosing += new FormClosingEventHandler(this.xfmPayInsurance_0_FormClosing);
                            this.xfmPayInsurance_0.Show();
                            break;
                        }
                        case 0x11:
                            SYS_LOG.Insert("Chương Tr\x00ecnh Ph\x00fac Lợi", "Xem");
                            if(this.xfmWelfare_0 != null)
                            {
                                xfmWelfare welfare = new xfmWelfare {
                                    MdiParent = this
                                };
                                this.xfmWelfare_0 = welfare;
                                if (handler4 == null)
                                {
                                    handler4 = new FormClosingEventHandler(this.method_36);
                                }
                                this.xfmWelfare_0.FormClosing += handler4;
                                this.xfmWelfare_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmWelfare_0].MdiChild.Activate();
                            }
                            break;

                        case 0x12:
                            SYS_LOG.Insert("Khen Thưởng", "Xem");
                            if(this.xfmReward_0 != null)
                            {
                                xfmReward reward = new xfmReward {
                                    MdiParent = this
                                };
                                this.xfmReward_0 = reward;
                                if (handler5 == null)
                                {
                                    handler5 = new FormClosingEventHandler(this.method_37);
                                }
                                this.xfmReward_0.FormClosing += handler5;
                                this.xfmReward_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmReward_0].MdiChild.Activate();
                            }
                            break;

                        case 0x13:
                            SYS_LOG.Insert("Kỷ Luật", "Xem");
                            if(this.xfmDiscipline_0 != null)
                            {
                                xfmDiscipline discipline = new xfmDiscipline {
                                    MdiParent = this
                                };
                                this.xfmDiscipline_0 = discipline;
                                if (handler6 == null)
                                {
                                    handler6 = new FormClosingEventHandler(this.method_38);
                                }
                                this.xfmDiscipline_0.FormClosing += handler6;
                                this.xfmDiscipline_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmDiscipline_0].MdiChild.Activate();
                            }
                            break;

                        case 20:
                            SYS_LOG.Insert("Kỷ Luật", "Xem");
                            if(this.xfmTraining_0 != null)
                            {
                                xfmTraining training = new xfmTraining {
                                    MdiParent = this
                                };
                                this.xfmTraining_0 = training;
                                if (handler7 == null)
                                {
                                    handler7 = new FormClosingEventHandler(this.method_39);
                                }
                                this.xfmTraining_0.FormClosing += handler7;
                                this.xfmTraining_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmTraining_0].MdiChild.Activate();
                            }
                            break;

                        case 0x15:
                        {
                            SYS_LOG.Insert("Bảng Xếp Ca", "Xem");
                            if(this.xfmShiftOrder_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmShiftOrder_0].MdiChild.Activate();
                                break;
                            }
                            xfmShiftOrder order = new xfmShiftOrder {
                                MdiParent = this
                            };
                            this.xfmShiftOrder_0 = order;
                            this.xfmShiftOrder_0.FormClosing += new FormClosingEventHandler(this.xfmShiftOrder_0_FormClosing);
                            this.xfmShiftOrder_0.SaveDataChanged += new xfmShiftOrder.SaveDataChangedHander(this.method_24);
                            this.xfmShiftOrder_0.Show();
                            break;
                        }
                        case 0x16:
                        {
                            SYS_LOG.Insert("Chấm C\x00f4ng", "Xem");
                            if(this.xfmTimekeeping_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmTimekeeping_0].MdiChild.Activate();
                                break;
                            }
                            xfmTimekeeping timekeeping = new xfmTimekeeping {
                                MdiParent = this
                            };
                            this.xfmTimekeeping_0 = timekeeping;
                            this.xfmTimekeeping_0.FormClosing += new FormClosingEventHandler(this.xfmTimekeeping_0_FormClosing);
                            this.xfmTimekeeping_0.UnShiftData += new xfmTimekeeping.UnShiftDataHandler(this.method_17);
                            this.xfmTimekeeping_0.TimekeeperTableInserted += new xfmTimekeeping.TimekeeperTableInsertedHandler(this.method_18);
                            this.xfmTimekeeping_0.Show();
                            break;
                        }
                        case 0x17:
                        {
                            SYS_LOG.Insert("Kết Nối M\x00e1y Chấm C\x00f4ng", "Xem");
                            if(this.xfmAtt_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmAtt_0].MdiChild.Activate();
                                break;
                            }
                            xfmAtt att = new xfmAtt {
                                MdiParent = this
                            };
                            this.xfmAtt_0 = att;
                            this.xfmAtt_0.FormClosing += new FormClosingEventHandler(this.xfmAtt_0_FormClosing);
                            this.xfmAtt_0.Show();
                            break;
                        }
                        case 0x18:
                        {
                            SYS_LOG.Insert("Chấm C\x00f4ng Tổng Hợp", "Xem");
                            if(this.xfmTimekeeperTable_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmTimekeeperTable_0].MdiChild.Activate();
                                break;
                            }
                            xfmTimekeeperTable table = new xfmTimekeeperTable {
                                MdiParent = this
                            };
                            this.xfmTimekeeperTable_0 = table;
                            this.xfmTimekeeperTable_0.FormClosing += new FormClosingEventHandler(this.xfmTimekeeperTable_0_FormClosing);
                            this.xfmTimekeeperTable_0.UnShiftData += new xfmTimekeeperTable.UnShiftDataHandler(this.method_17);
                            this.xfmTimekeeperTable_0.TimekeeperTableInserted += new xfmTimekeeperTable.TimekeeperTableInsertedHandler(this.method_18);
                            this.xfmTimekeeperTable_0.TimekeeperTableDeleted += new xfmTimekeeperTable.TimekeeperTableDeletedHandler(this.method_16);
                            this.xfmTimekeeperTable_0.Show();
                            break;
                        }
                        case 0x19:
                        {
                            SYS_LOG.Insert("Chấm C\x00f4ng Tăng Ca", "Xem");
                            if(this.xfmTimekeeperOverTime_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmTimekeeperOverTime_0].MdiChild.Activate();
                                break;
                            }
                            xfmTimekeeperOverTime time = new xfmTimekeeperOverTime {
                                MdiParent = this
                            };
                            this.xfmTimekeeperOverTime_0 = time;
                            this.xfmTimekeeperOverTime_0.FormClosing += new FormClosingEventHandler(this.xfmTimekeeperOverTime_0_FormClosing);
                            this.xfmTimekeeperOverTime_0.UnShiftData += new xfmTimekeeperOverTime.UnShiftDataHandler(this.method_17);
                            this.xfmTimekeeperOverTime_0.TimekeeperTableInserted += new xfmTimekeeperOverTime.TimekeeperTableInsertedHandler(this.method_18);
                            this.xfmTimekeeperOverTime_0.TimekeeperTableDeleted += new xfmTimekeeperOverTime.TimekeeperTableDeletedHandler(this.method_16);
                            this.xfmTimekeeperOverTime_0.Show();
                            break;
                        }
                        case 0x1a:
                            SYS_LOG.Insert("Chấm C\x00f4ng Tăng Ca", "Xem");
                            if(this.xfmTimekeeperTotal_0 != null)
                            {
                                xfmTimekeeperTotal total = new xfmTimekeeperTotal {
                                    MdiParent = this
                                };
                                this.xfmTimekeeperTotal_0 = total;
                                if (handler8 == null)
                                {
                                    handler8 = new FormClosingEventHandler(this.method_40);
                                }
                                this.xfmTimekeeperTotal_0.FormClosing += handler8;
                                this.xfmTimekeeperTotal_0.UnShiftData += new xfmTimekeeperTotal.UnShiftDataHandler(this.method_17);
                                this.xfmTimekeeperTotal_0.TimekeeperTableInserted += new xfmTimekeeperTotal.TimekeeperTableInsertedHandler(this.method_18);
                                this.xfmTimekeeperTotal_0.TimekeeperTableDeleted += new xfmTimekeeperTotal.TimekeeperTableDeletedHandler(this.method_16);
                                this.xfmTimekeeperTotal_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmTimekeeperTotal_0].MdiChild.Activate();
                            }
                            break;

                        case 0x1b:
                            SYS_LOG.Insert("Bảng T\x00ednh Lương", "Xem");
                            if(this.xfmSalary_0 != null)
                            {
                                xfmSalary salary = new xfmSalary {
                                    MdiParent = this
                                };
                                this.xfmSalary_0 = salary;
                                this.xfmSalary_0.FormClosing += new FormClosingEventHandler(this.xfmSalary_0_FormClosing);
                                if (hander2 == null)
                                {
                                    hander2 = new xfmSalary.PayEventHander(this.method_41);
                                }
                                this.xfmSalary_0.PayEvented += hander2;
                                this.xfmSalary_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmSalary_0].MdiChild.Activate();
                            }
                            break;

                        case 0x1c:
                        {
                            SYS_LOG.Insert("T\x00ednh Lương Tăng Ca", "Xem");
                            if(this.xfmSalaryOverTime_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmSalaryOverTime_0].MdiChild.Activate();
                                break;
                            }
                            xfmSalaryOverTime time2 = new xfmSalaryOverTime {
                                MdiParent = this
                            };
                            this.xfmSalaryOverTime_0 = time2;
                            this.xfmSalaryOverTime_0.FormClosing += new FormClosingEventHandler(this.xfmSalaryOverTime_0_FormClosing);
                            this.xfmSalaryOverTime_0.Show();
                            break;
                        }
                        case 0x1d:
                            SYS_LOG.Insert("Bảng T\x00ednh Lương", "Xem");
                            if(this.xfmSalaryPay_0 != null)
                            {
                                xfmSalaryPay pay = new xfmSalaryPay {
                                    MdiParent = this
                                };
                                this.xfmSalaryPay_0 = pay;
                                if (handler9 == null)
                                {
                                    handler9 = new FormClosingEventHandler(this.method_42);
                                }
                                this.xfmSalaryPay_0.FormClosing += handler9;
                                if (salaryPayChangedHander_0 == null)
                                {
                                    salaryPayChangedHander_0 = new xfmSalaryPay.SalaryPayChangedHander(Form0.smethod_1);
                                }
                                this.xfmSalaryPay_0.SalaryPayChanged += salaryPayChangedHander_0;
                                this.xfmSalaryPay_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmSalaryPay_0].MdiChild.Activate();
                            }
                            break;

                        case 30:
                            SYS_LOG.Insert("Quyết To\x00e1n Thuế TNCN", "Xem");
                            if(this.xfmBalanceSheet_0 != null)
                            {
                                xfmBalanceSheet sheet = new xfmBalanceSheet {
                                    MdiParent = this
                                };
                                this.xfmBalanceSheet_0 = sheet;
                                if (handler10 == null)
                                {
                                    handler10 = new FormClosingEventHandler(this.method_43);
                                }
                                this.xfmBalanceSheet_0.FormClosing += handler10;
                                this.xfmBalanceSheet_0.Show();
                            }
                            else
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmBalanceSheet_0].MdiChild.Activate();
                            }
                            break;

                        case 0x1f:
                        {
                            SYS_LOG.Insert("Thống K\x00ea", "Xem");
                            if(this.xfmTotalUp_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmTotalUp_0].MdiChild.Activate();
                                break;
                            }
                            xfmTotalUp up = new xfmTotalUp {
                                MdiParent = this
                            };
                            this.xfmTotalUp_0 = up;
                            this.xfmTotalUp_0.FormClosing += new FormClosingEventHandler(this.xfmTotalUp_0_FormClosing);
                            this.xfmTotalUp_0.Show();
                            break;
                        }
                        case 0x20:
                        {
                            SYS_LOG.Insert("T\x00ecm Kiếm", "Xem");
                            if(this.xfmSearch_0 != null)
                            {
                                this.xtraTabbedMdiManager_0.Pages[this.xfmSearch_0].MdiChild.Activate();
                                break;
                            }
                            xfmSearch search = new xfmSearch("") {
                                MdiParent = this
                            };
                            this.xfmSearch_0 = search;
                            this.xfmSearch_0.FormClosing += new FormClosingEventHandler(this.xfmSearch_0_FormClosing);
                            this.xfmSearch_0.Show();
                            break;
                        }
                        case 0x21:
                            SYS_LOG.Insert("Hướng Dẫn Sử Dụng", "Xem");
                            //if(this.xfmBrowser_0 != null)
                            //{
                            //    xfmBrowser browser = new xfmBrowser {
                            //        MdiParent = this
                            //    };
                            //    this.xfmBrowser_0 = browser;
                            //    xfmBrowser_0 = this.barEditItem_1.EditValue == null;
                            //    if (this.xfmBrowser_0 != null)
                            //    {
                            //        this.xfmBrowser_0.SetUrl("http://www.google.com.vn/search?source=ig&hl=vi&rlz=&q=" + this.barEditItem_1.EditValue.ToString() + "&oq=" + this.barEditItem_1.EditValue.ToString() + "&aq=f&aqi=g-sL1g-vL1&aql=&gs_sm=e&gs_upl=562l1073l0l1542l11l5l0l0l0l0l203l768l0.3.2l5l0");
                            //    }
                            //    this.xfmBrowser_0.FormClosing += new FormClosingEventHandler(this.xfmBrowser_0_FormClosing);
                            //    this.xfmBrowser_0.Show();
                            //}
                            //else
                            //{
                            //    xfmBrowser_0 = this.barEditItem_1.EditValue == null;
                            //    if (xfmBrowser_0 != null)
                            //    {
                            //        this.xfmBrowser_0.SetUrl("http://www.google.com.vn/search?source=ig&hl=vi&rlz=&q=" + this.barEditItem_1.EditValue.ToString() + "&oq=" + this.barEditItem_1.EditValue.ToString() + "&aq=f&aqi=g-sL1g-vL1&aql=&gs_sm=e&gs_upl=562l1073l0l1542l11l5l0l0l0l0l203l768l0.3.2l5l0");
                            //    }
                            //    this.xtraTabbedMdiManager_0.Pages[this.xfmBrowser_0].MdiChild.Activate();
                            //}
                            break;
                    }
                }
            }
        }

        private void method_16(object object_0)
        {
            if (this.xfmShiftOrder_0 != null)
            {
                this.xfmShiftOrder_0.Close();
            }
            if (this.xfmTimekeeping_0 != null)
            {
                this.xfmTimekeeping_0.Close();
            }
            if (this.xfmSalary_0 != null)
            {
                this.xfmSalary_0.Close();
            }
            if (this.xfmTimekeeperTable_0 != null)
            {
                this.xfmTimekeeperTable_0.Close();
            }
            if (this.xfmTimekeeperOverTime_0 != null)
            {
                this.xfmTimekeeperOverTime_0.Close();
            }
            if (this.xfmTimekeeperTotal_0 != null)
            {
                this.xfmTimekeeperTotal_0.Close();
            }
        }

        private void method_17(object object_0, int int_0, int int_1)
        {
            SYS_LOG.Insert("Bảng Xếp Ca", "Xem");
            if (this.xfmShiftOrder_0 == null)
            {
                xfmShiftOrder order = new xfmShiftOrder(int_0, int_1) {
                    MdiParent = this
                };
                this.xfmShiftOrder_0 = order;
                this.xfmShiftOrder_0.FormClosing += new FormClosingEventHandler(this.xfmShiftOrder_0_FormClosing);
                this.xfmShiftOrder_0.SaveDataChanged += new xfmShiftOrder.SaveDataChangedHander(this.method_24);
                this.xfmShiftOrder_0.Show();
            }
            else
            {
                this.xfmShiftOrder_0.SetData(int_0, int_1);
                this.xtraTabbedMdiManager_0.Pages[this.xfmShiftOrder_0].MdiChild.Activate();
            }
        }

        private void method_18(object object_0)
        {
            if (this.xfmTimekeeperTable_0 != null)
            {
                this.xfmTimekeeperTable_0.LoadTimekeeperTableList();
            }
            if (this.xfmTimekeeperOverTime_0 != null)
            {
                this.xfmTimekeeperOverTime_0.LoadTimekeeperTableList();
            }
        }

        private void method_19(object object_0)
        {
            this.method_15("xfmTransferList", "");
        }

        private void method_2(object sender, ItemClickEventArgs e)
        {
            this.method_15("xfmCurrencys", "");
        }

        private void method_20()
        {
            if (!MyRule.IsAccess("bbiOption"))
            {
                this.barButtonItem_0.Enabled = false;
            }
            else
            {
                this.barButtonItem_0.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiUsers"))
            {
                this.barButtonItem_19.Enabled = false;
            }
            else
            {
                this.barButtonItem_19.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiPermission"))
            {
                this.barButtonItem_49.Enabled = false;
            }
            else
            {
                this.barButtonItem_49.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiSysLog"))
            {
                this.barButtonItem_12.Enabled = false;
            }
            else
            {
                this.barButtonItem_12.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiBackup"))
            {
                this.barButtonItem_8.Enabled = false;
            }
            else
            {
                this.barButtonItem_8.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiRestore"))
            {
                this.barButtonItem_9.Enabled = false;
            }
            else
            {
                this.barButtonItem_9.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiWorkdesk"))
            {
                this.barButtonItem_40.Enabled = false;
            }
            else
            {
                this.barButtonItem_40.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiDictionary"))
            {
                this.barButtonItem_38.Enabled = false;
            }
            else
            {
                this.barButtonItem_38.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiCandidate"))
            {
                this.barButtonItem_35.Enabled = false;
            }
            else
            {
                this.barButtonItem_35.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiEmployee"))
            {
                this.barButtonItem_36.Enabled = false;
            }
            else
            {
                this.barButtonItem_36.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiContract"))
            {
                this.barButtonItem_43.Enabled = false;
            }
            else
            {
                this.barButtonItem_43.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiProcess"))
            {
                this.barButtonItem_37.Enabled = false;
                this.barButtonItem_60.Enabled = false;
            }
            else
            {
                this.barButtonItem_37.Enabled = true;
                this.barButtonItem_60.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiInsurance"))
            {
                this.barButtonItem_52.Enabled = false;
                this.barButtonItem_50.Enabled = false;
                this.barButtonItem_53.Enabled = false;
            }
            else
            {
                this.barButtonItem_52.Enabled = true;
                this.barButtonItem_50.Enabled = true;
                this.barButtonItem_53.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiWork"))
            {
                this.barButtonItem_59.Enabled = false;
            }
            else
            {
                this.barButtonItem_59.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiReward"))
            {
                this.barButtonItem_54.Enabled = false;
            }
            else
            {
                this.barButtonItem_54.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiDiscipline"))
            {
                this.barButtonItem_55.Enabled = false;
            }
            else
            {
                this.barButtonItem_55.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiTraining"))
            {
                this.barButtonItem_56.Enabled = false;
            }
            else
            {
                this.barButtonItem_56.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiWelfare"))
            {
                this.barButtonItem_57.Enabled = false;
            }
            else
            {
                this.barButtonItem_57.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiShiftOrder"))
            {
                this.barButtonItem_41.Enabled = false;
            }
            else
            {
                this.barButtonItem_41.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiTimekeeping"))
            {
                this.barButtonItem_58.Enabled = false;
                this.barButtonItem_46.Enabled = false;
            }
            else
            {
                this.barButtonItem_58.Enabled = true;
                this.barButtonItem_46.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiTimekeeperTable"))
            {
                this.barButtonItem_66.Enabled = false;
            }
            else
            {
                this.barButtonItem_66.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiTimekeeperTableOverTime"))
            {
                this.barButtonItem_44.Enabled = false;
            }
            else
            {
                this.barButtonItem_44.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiTimekeeperTotal"))
            {
                this.barButtonItem_65.Enabled = false;
            }
            else
            {
                this.barButtonItem_65.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiMinSalary"))
            {
                this.barButtonItem_39.Enabled = false;
            }
            else
            {
                this.barButtonItem_39.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiFormula"))
            {
                this.barButtonItem_42.Enabled = false;
            }
            else
            {
                this.barButtonItem_42.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiSalary"))
            {
                this.barButtonItem_47.Enabled = false;
                this.barButtonItem_45.Enabled = false;
                this.barButtonItem_61.Enabled = false;
            }
            else
            {
                this.barButtonItem_47.Enabled = true;
                this.barButtonItem_45.Enabled = true;
                this.barButtonItem_61.Enabled = true;
            }
            if (!MyRule.IsAccess("bbiTotalUp"))
            {
                this.barButtonItem_48.Enabled = false;
            }
            else
            {
                this.barButtonItem_48.Enabled = true;
            }
        }

        private void method_21(object sender, ItemClickEventArgs e)
        {
            if (XtraMessageBox.Show("Qu\x00e1 tr\x00ecnh n\x00e0y sẽ l\x00e0m thay đổi dữ liệu, v\x00ec vậy bạn phải thực hiện sao lưu dữ liệu trước, để đảm bảo trong qu\x00e1 tr\x00ecnh kết chuyển gặp sự cố.\nBạn c\x00f3 đồng \x00fd kh\x00f4ng?.", "Th\x00f4ng B\x00e1o", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
            {
            }
        }

        private void method_22(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmPosition", "");
            Cursor.Current = Cursors.Default;
        }

        private void method_23(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmSalary", "");
            Cursor.Current = Cursors.Default;
        }

        private void method_24(object object_0)
        {
            if (this.xfmTimekeeping_0 != null)
            {
                this.xfmTimekeeping_0.LoadTimeKeeperTable();
            }
            if (this.xfmTimekeeperTable_0 != null)
            {
                this.xfmTimekeeperTable_0.LoadTimekeeperTableList();
            }
            if (this.xfmTimekeeperOverTime_0 != null)
            {
                this.xfmTimekeeperOverTime_0.LoadTimekeeperTableList();
            }
            this.xtraTabbedMdiManager_0.Pages[this.xfmShiftOrder_0].MdiChild.Activate();
        }

        private void method_25(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmTimekeeping", "");
            Cursor.Current = Cursors.Default;
        }

        private void method_26(object sender, ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            Cursor.Current = Cursors.Default;
        }

        private void method_27()
        {
            if (File.Exists(this.string_0))
            {
                if (this.method_10() == "Classic")
                {
                    this.barEditItem_3.EditValue = "Classic";
                }
                else
                {
                    this.barEditItem_3.EditValue = "Metro";
                }
            }
        }

        private unsafe void method_28()
        {
            short KeyState = GetKeyState(0x90);//*(((sbyte*)voidPtr))
            short KeyState1 = 0; //*((sbyte*)(voidPtr + 1))
            short KeyState2 = 0; //*((sbyte*)(voidPtr + 2))
            short KeyState3 = 0; //*((sbyte*)(voidPtr + 3)) 
            if (KeyState != 0)
                KeyState1 = GetKeyState(20);
            if (KeyState1 != 0)
                KeyState2 = GetKeyState(0x2d);
            if (KeyState2 != 0)
                KeyState3 = KeyState1;
            if (KeyState == 0)
            {
            }
            if (KeyState3 == 0)
            {
                this.barStaticItem_8.Caption = "NUM";
            }
            else
            {
                this.barStaticItem_8.Caption = string.Empty;
            }
            if (KeyState1 == 0)
                KeyState3 = KeyState1;
            if (KeyState3 == 0)
            {
                this.barStaticItem_9.Caption = "CAPS";
            }
            else
            {
                this.barStaticItem_9.Caption = string.Empty;
            }
            if(KeyState2 == 0)
                KeyState3 = KeyState2;
            if (KeyState3 == 0)
            {
                this.barStaticItem_7.Caption = "OVR";
            }
            else
            {
                this.barStaticItem_7.Caption = "INS";
            }
            this.Refresh();
        }

        private void method_29(Keys keys_0)
        {
            keybd_event((byte) keys_0, 0x45, 1, 0);
            keybd_event((byte) keys_0, 0x45, 3, 0);
            this.method_28();
        }

        private void method_3(object object_0)
        {
            base.Show();
        }

        private void method_30()
        {
            if (GetKeyState(20) == 0)
            {
                this.method_29(Keys.Capital);
            }
        }

        [CompilerGenerated]
        private void method_31(object object_0)
        {
            if (this.xfmWorkdesk_0 != null)
            {
                this.xfmWorkdesk_0.LoadCompanyData();
            }
        }

        [CompilerGenerated]
        private void method_32(object object_0, string string_2)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15(string_2, "");
            Cursor.Current = Cursors.Default;
        }

        [CompilerGenerated]
        private void method_33(object sender, FormClosingEventArgs e)
        {
            this.xfmDiagram_0 = null;
        }

        [CompilerGenerated]
        private void method_34(object sender, FormClosingEventArgs e)
        {
            this.xfmProcessList_0 = null;
        }

        [CompilerGenerated]
        private void method_35(object sender, FormClosingEventArgs e)
        {
            this.xfmWork_0 = null;
        }

        [CompilerGenerated]
        private void method_36(object sender, FormClosingEventArgs e)
        {
            this.xfmWelfare_0 = null;
        }

        [CompilerGenerated]
        private void method_37(object sender, FormClosingEventArgs e)
        {
            this.xfmReward_0 = null;
        }

        [CompilerGenerated]
        private void method_38(object sender, FormClosingEventArgs e)
        {
            this.xfmDiscipline_0 = null;
        }

        [CompilerGenerated]
        private void method_39(object sender, FormClosingEventArgs e)
        {
            this.xfmTraining_0 = null;
        }

        private void method_4(object object_0)
        {
            base.Hide();
        }

        [CompilerGenerated]
        private void method_40(object sender, FormClosingEventArgs e)
        {
            this.xfmTimekeeperTotal_0 = null;
        }

        [CompilerGenerated]
        private void method_41(object object_0, int int_0, int int_1)
        {
            this.method_15("xfmSalaryPay", "");
            this.xfmSalaryPay_0.SetMonthYear(int_0, int_1);
        }

        [CompilerGenerated]
        private void method_42(object sender, FormClosingEventArgs e)
        {
            this.xfmSalaryPay_0 = null;
        }

        [CompilerGenerated]
        private void method_43(object sender, FormClosingEventArgs e)
        {
            this.xfmBalanceSheet_0 = null;
        }

        [CompilerGenerated]
        private void method_44(object object_0, SYS_USER sys_USER_0)
        {
            this.barStaticItem_2.Caption = MyLogin.AccountName + "/" + HRM.CORE.CLASS.Organization.GetFullOrganization("/");
        }

        [CompilerGenerated]
        private void method_45(object sender, EventArgs e)
        {
            HyperLinkEdit edit = sender as HyperLinkEdit;
            this.method_15(edit.Name, "");
            this.applicationMenu_0.HidePopup();
        }

        //private void method_5(object object_0, CUSTOMER customer_0)
        //{
            //MyInfo.Company_Id = MyEncryption.Encrypt("ERP01", "123654", true);
            //MyInfo.Company = customer_0.NameCompany;
            //MyInfo.Address = customer_0.Address;
            //MyInfo.Tel = customer_0.Tell;
            //MyInfo.Fax = customer_0.Fax;
            //MyInfo.WebSite = customer_0.Website;
            //MyInfo.Email = customer_0.Email;
            //MyInfo.Tax = customer_0.TaxID;
            //MyInfo.Licence = customer_0.Contents;
            //if (!MyInfo.Update())
            //{
            //    XtraMessageBox.Show("Kh\x00f4ng thể lưu th\x00f4ng tin đăng k\x00fd.", "Th\x00f4ng B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            //}
        //}

        private void method_6(object sender, ItemClickEventArgs e)
        {
            try
            {
                if (XtraMessageBox.Show("Qu\x00e1 tr\x00ecnh cập nhật sẽ tắt phần mềm đang sử dụng.\nBạn c\x00f3 muốn cập nhật kh\x00f4ng?.", "Th\x00f4ng B\x00e1o", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.No)
                {
                    SYS_LOG.Insert("Cập Nhật Phần Mềm", "Thực Thi");
                    Process.Start(Application.StartupPath + @"\Perfect.Update.exe");
                    Environment.Exit(0);
                }
            }
            catch
            {
            }
        }

        private unsafe void method_7(object object_0)
        {
            DbInfo.CheckVersion();
            Options.FormLoading.SetProgressValue(0x20, MultiLanguages.GetString("tbl_Loading", "InitializingSystem", "Đang khởi tạo hệ thống..."));
            SYS_LOG.Insert("Hệ Thống", "Đăng Nhập");
            Options.FormLoading.SetProgressValue(0x23, MultiLanguages.GetString("tbl_Loading", "RetrievingInformationSystem", "Đang lấy th\x00f4ng tin hệ thống..."));
            //MyInfo.GetInfo();
            CODE.CompanyName = "";// MyInfo.Company;
            CODE.Address = "";//MyInfo.Address;
            CODE code = new CODE();
            Options.FormLoading.SetProgressValue(40, MultiLanguages.GetString("tbl_Loading", "LoadingInformationSystem", "Đang nạp th\x00f4ng tin hệ thống..."));
            code.CheckLicense();
            Options.FormLoading.SetProgressValue(0x2d, MultiLanguages.GetString("tbl_Loading", "CheckingValidity", "Đang kiểm tra sự hợp lệ.."));
            code.Execute();
            this.sqlHelper_0 = new SqlHelper(SqlHelper.ConnectString);
            this.sqlHelper_0.Extract();
            Options.FormLoading.SetProgressValue(50, MultiLanguages.GetString("tbl_Loading", "InitializingSystem", "Đang khởi tạo hệ thống..."));
            clsAllOption option = new clsAllOption();
            if (this.bool_0)
            {
                this.method_0();
                this.method_1();
                this.method_28();
                this.ribbonControl_0.SelectedPage = this.ribbonPage_2;
                this.ribbonControl_0.Minimized = option.Minimized;
                this.barEditItem_4.EditValue = option.MonthDefault;
                if (!option.ShowTimekeeper)
                {
                    this.ribbonPageGroup_7.Visible = false;
                }
                if (!option.ShowSalary)
                {
                    this.ribbonPageGroup_8.Visible = false;
                }
            }
            Options.FormLoading.SetProgressValue(0x41, MultiLanguages.GetString("tbl_Loading", "SettingSystem", "Đang thiết lập hệ thống..."));
            this.barStaticItem_2.Caption = MyLogin.AccountName + "/" + HRM.CORE.CLASS.Organization.GetFullOrganization("/");
            this.barStaticItem_3.Caption = this.sqlHelper_0.Server + "  ";
            this.barStaticItem_5.Caption = this.sqlHelper_0.Database + " (" + DbInfo.CurrentVersion + ") " + DbInfo.Description;
            this.barStaticItem_4.Caption = "Thời gian: " + MyLogin.LoginDate.ToString("dd/MM/yyyy hh:mm:ss");
            this.barStaticItem_6.Caption = "Phi\x00ean bản:" + APP.HELPER.Utils.AssemblyHelper.AssemblyVersion;
            Options.FormLoading.SetProgressValue(70, MultiLanguages.GetString("tbl_Loading", "CheckingData", "Đang kiểm tra dữ liệu..."));
            int i = this.sqlHelper_0.Server.IndexOf(@"\");
            string str = (i != -1) ? this.sqlHelper_0.Server.Substring(0, i) : this.sqlHelper_0.Server;
            str = str.ToLower();
            this.method_20();
            Options.FormLoading.SetProgressValue(80, "Đang kiểm tra m\x00e3 đăng k\x00fd...");
            if (CODE.TypeSoft == 0)
            {
                Form1.SotfType = EnumSotfType.Trial;
                if (option.ShowHelp)
                {
                    this.barButtonItem_2_ItemClick(this, null);
                }
            }
            else if (CODE.TypeSoft == 1)
            {
                int k = 1;
                if ((((str != ".") & (str != "(local)")) & (str != "(localhost)")) & (str != Environment.MachineName.ToLower()))
                {
                    Options.FormLoading.Visible = false;
                    XtraMessageBox.Show("Phần mềm đang truy cập cở sở dữ liệu tr\x00ean m\x00e1y chủ kh\x00e1c.\nT\x00ednh năng kh\x00f4ng được hỗ trợ cho phi\x00ean bản n\x00e0y (Hoặc vui l\x00f2ng mua phi\x00ean bản thu ph\x00ed để được hỗ trợ).", "Th\x00f4ng B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                    xfmDatabaseConfig config = new xfmDatabaseConfig();
                    config.Logined += new xfmDatabaseConfig.LoginedEventHander(Form0.smethod_0);
                    config.ShowDialog(this);
                    XtraMessageBox.Show("Cấu h\x00ecnh mới chưa được thiết lập, Phần mềm sẽ kết th\x00fac tại đ\x00e2y.", "Th\x00f4ng B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                    Application.Exit();
                }
                if ((((str != ".") & (str != "(local)")) & (str != "(localhost)")) & (str != Environment.MachineName.ToLower()))
                {
                    this.barButtonItem_8.Visibility = BarItemVisibility.Never;
                    this.barButtonItem_9.Visibility = BarItemVisibility.Never;
                }
                Form1.SotfType = EnumSotfType.Free;
                this.barStaticItem_1.Caption = "Bạn đang sử dụng phi\x00ean bản miển ph\x00ed của ch\x00fang t\x00f4i!";
                this.barButtonItem_43.Enabled = false;
                this.barButtonItem_52.Enabled = false;
                this.barButtonItem_63.Enabled = false;
                this.barButtonItem_59.Enabled = false;
                this.barButtonItem_50.Enabled = false;
                this.barButtonItem_66.Enabled = false;
                this.barSubItem_7.Enabled = false;
                this.barButtonItem_58.Enabled = false;
                this.barButtonItem_44.Enabled = false;
                this.barButtonItem_65.Enabled = false;
                this.barButtonItem_47.Enabled = false;
                this.barSubItem_8.Enabled = false;
                this.barButtonItem_45.Enabled = false;
                this.barButtonItem_61.Enabled = false;
                this.barButtonItem_42.Enabled = false;
                this.barButtonItem_39.Enabled = false;
                this.barButtonItem_41.Enabled = false;
                this.barButtonItem_48.Enabled = false;
                this.barSubItem_3.Enabled = false;
                if (option.ShowHelp)
                {
                    this.barButtonItem_2_ItemClick(this, null);
                }
                this.alertControl_0.Show(this, "Th\x00f4ng b\x00e1o", "Phần mềm đ\x00e3 hết thời gian d\x00f9ng thử, một số chức năng của phần mềm sẽ bị kh\x00f3a!\n Vui l\x00f2ng li\x00ean hệ với ch\x00fang t\x00f4i để cập nhật phi\x00ean bản thu ph\x00ed!");
            }
            this.ribbonControl_0.ApplicationCaption = (MultiLanguages.Language() == "vi-VN") ? "Phần Mềm Quản L\x00fd Nh\x00e2n Sự 2012" : "Perfect HRM 2012";
            if ((CODE.TypeSoft >= 200) & (CODE.TypeSoft <= 0x12b))
            {
                Form1.SotfType = EnumSotfType.Standard;
            }
            if ((CODE.TypeSoft >= 300) & (CODE.TypeSoft <= 0x18f))
            {
                Form1.SotfType = EnumSotfType.Professional;
            }
            if ((CODE.TypeSoft >= 400) & (CODE.TypeSoft <= 0x1f3))
            {
                Form1.SotfType = EnumSotfType.Enterprise;
            }
            this.barStaticItem_6.Caption = string.Concat(new object[] { "Phi\x00ean bản:", APP.HELPER.Utils.AssemblyHelper.AssemblyVersion, " ", Form1.SotfType });
            if (!MyRule.IsAccess("rbpgClose"))
            {
                this.ribbonPageGroup_3.Visible = false;
            }
            if (!MyRule.IsAccess("rbpgDatabase"))
            {
                this.ribbonPageGroup_4.Visible = false;
            }
            if (!MyRule.IsAccess("rbpgSecurity"))
            {
                this.ribbonPageGroup_2.Visible = false;
            }
            Options.FormLoading.SetProgressValue(90, "Đang khởi tạo mặc định...");
            if (CODE.TypeSoft != 1)
            {
                if (clsAllOption.CheckOption("ShowDiagram") != "")
                {
                    if (clsAllOption.CheckOption("ShowDiagram") == "True")
                    {
                        this.method_15("xfmDiagram", "");
                    }
                }
                else
                {
                    this.method_15("xfmDiagram", "");
                }
            }
            if (clsAllOption.CheckOption("ShowWorkdesk") != "")
            {
                if (clsAllOption.CheckOption("ShowWorkdesk") == "True")
                {
                    this.method_15("xfmWorkdesk", "");
                }
            }
            else
            {
                this.method_15("xfmWorkdesk", "");
            }
            Options.FormLoading.SetProgressValue(100, "Ho\x00e0n tất");
            Options.FormLoading.Visible = false;
            if (this.sqlHelper_0.Database == "HRMExample")
            {
                //new xfmDatabaseExample().ShowDialog();
            }
            if (option.WindowState == "Maximized")
            {
                base.Top = 0;
                base.Left = 0;
                base.Bounds = Screen.PrimaryScreen.Bounds;
                base.WindowState = FormWindowState.Maximized;
                base.Width = 0x400;
                base.Height = 0x300;
            }
            else if ((option.LocationX < 0) || (option.LocationY < 0))
            {
                base.Top = 0;
                base.Left = 0;
                base.Bounds = Screen.PrimaryScreen.Bounds;
                base.WindowState = FormWindowState.Maximized;
                base.Width = 0x400;
                base.Height = 0x300;
            }
            else
            {
                base.WindowState = FormWindowState.Normal;
                base.Bounds = Screen.PrimaryScreen.Bounds;
                base.Left = option.LocationX;
                base.Top = option.LocationY;
                if ((option.SizeWidth < 800) || (option.SizeHeight < 600))
                {
                    base.Width = 800;
                    base.Height = 600;
                }
                else
                {
                    base.Width = option.SizeWidth;
                    base.Height = option.SizeHeight;
                }
            }
            base.SizeChanged += new EventHandler(this.Form0_SizeChanged);
            base.LocationChanged += new EventHandler(this.Form0_LocationChanged);
            this.timer_0.Enabled = true;
        }

        private void method_8()
        {
            if (this.xtraTabbedMdiManager_0.Pages.Count > 0)
            {
                this.xtraTabbedMdiManager_0.Pages.Clear();
            }
            new SendReportMail().DeleteEmail();
            SYS_LOG.Insert("Hệ Thống", "Kết Th\x00fac");
        }

        private void method_9(object sender, ItemClickEventArgs e)
        {
            UserLookAndFeel.Default.SkinName = e.Item.Tag.ToString();
            this.method_11(e.Item.Tag.ToString(), this.barEditItem_3.EditValue.ToString());
        }

        private void repositoryItemButtonEdit_0_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            this.method_15("xfmBrowser", "");
            Cursor.Current = Cursors.Default;
        }

        private void repositoryItemButtonEdit_0_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                this.barEditItem_1.PerformClick();
                Cursor.Current = Cursors.WaitCursor;
                this.method_15("xfmBrowser", "");
                Cursor.Current = Cursors.Default;
            }
        }

        private unsafe void ribbonControl_0_ApplicationButtonClick(object sender, EventArgs e)
        {
            EventHandler handler = null;
            this.flowLayoutPanel_0.Controls.Clear();
            Form[] mdiChildren = base.MdiChildren;
            int index = 0;
            while (index <= mdiChildren.Length)
            {
                if (index == 0)
                {
                    return;
                }
                Form form = mdiChildren[index];
                HyperLinkEdit edit = new HyperLinkEdit {
                    Text = form.Text,
                    Name = form.Name,
                    Width = this.flowLayoutPanel_0.Width - 10,
                    BackColor = Color.Transparent,
                    BorderStyle = BorderStyles.NoBorder
                };
                if (handler == null)
                {
                    handler = new EventHandler(this.method_45);
                }
                edit.Click += handler;
                this.flowLayoutPanel_0.Controls.Add(edit);
                index++;
            }
        }

        private void ribbonControl_0_Layout(object sender, LayoutEventArgs e)
        {
        }

        private void ribbonControl_0_Merge(object sender, RibbonMergeEventArgs e)
        {
        }

        private void ribbonControl_0_MinimizedChanged(object sender, EventArgs e)
        {
            new clsAllOption { Minimized = this.ribbonControl_0.Minimized }.SaveOption();
        }

        private void ribbonPageGroup_5_CaptionButtonClick(object sender, RibbonPageGroupEventArgs e)
        {
            if (this.xfmDiagram_0 != null)
            {
                this.xfmDiagram_0.LoadInterface(0);
                this.xtraTabbedMdiManager_0.Pages[this.xfmDiagram_0].MdiChild.Activate();
            }
            else
            {
                this.method_15("xfmDiagram", "");
                if (this.xfmDiagram_0 != null)
                {
                    this.xfmDiagram_0.LoadInterface(0);
                }
            }
        }

        private void ribbonPageGroup_7_CaptionButtonClick(object sender, RibbonPageGroupEventArgs e)
        {
            if (this.xfmDiagram_0 != null)
            {
                this.xfmDiagram_0.LoadInterface(1);
                this.xtraTabbedMdiManager_0.Pages[this.xfmDiagram_0].MdiChild.Activate();
            }
            else
            {
                this.method_15("xfmDiagram", "");
                if (this.xfmDiagram_0 != null)
                {
                    this.xfmDiagram_0.LoadInterface(1);
                }
            }
        }

        private void ribbonPageGroup_8_CaptionButtonClick(object sender, RibbonPageGroupEventArgs e)
        {
            if (this.xfmDiagram_0 != null)
            {
                this.xfmDiagram_0.LoadInterface(2);
                this.xtraTabbedMdiManager_0.Pages[this.xfmDiagram_0].MdiChild.Activate();
            }
            else
            {
                this.method_15("xfmDiagram", "");
                if (this.xfmDiagram_0 != null)
                {
                    this.xfmDiagram_0.LoadInterface(2);
                }
            }
        }

        private static void smethod_0(object object_0, string string_2)
        {
            XtraMessageBox.Show("Phần mềm sẽ khởi động lại, để nạp cấu h\x00ecnh mới.", "Th\x00f4ng B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            Application.Restart();
        }

        [CompilerGenerated]
        private static void smethod_1(object object_0)
        {
        }

        private void timer_0_Tick(object sender, EventArgs e)
        {
            this.barStaticItem_4.Caption = "Thời gian: " + System.DateTime.Now.ToString("dd-MM-yyyy hh:mm:ss");
        }

        private void xfmAtt_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmAtt_0 = null;
        }

        private void xfmBrowser_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            //this.xfmBrowser_0 = null;
        }

        private void xfmCandidate_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmCandidate_0 = null;
        }

        private void xfmContract_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmContract_0 = null;
        }

        private void xfmDeclaration_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmDeclaration_0 = null;
        }

        private void xfmDictionary_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmDictionary_0 = null;
        }

        private void xfmEmployee_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmEmployee_0 = null;
        }

        private void xfmGroups_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmGroups_0 = null;
        }

        private void xfmInsurance_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmInsurance_0 = null;
        }

        private void xfmPayInsurance_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmPayInsurance_0 = null;
        }

        private void xfmPermision_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmPermision_0 = null;
        }

        private void xfmProcess_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmProcess_0 = null;
        }

        private void xfmReportUI_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmReportUI_0 = null;
        }

        private void xfmSalary_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmSalary_0 = null;
        }

        private void xfmSalaryOverTime_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmSalaryOverTime_0 = null;
        }

        private void xfmSearch_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmSearch_0 = null;
        }

        private void xfmShiftOrder_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmShiftOrder_0 = null;
        }

        private void xfmSysLog_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmSysLog_0 = null;
        }

        private void xfmTimekeeperOverTime_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            try
            {
                this.xtraTabbedMdiManager_0.Pages[this.xfmTimekeeperOverTime_0].MdiChild.Activate();
                this.xfmTimekeeperOverTime_0.SaveBeforeClose();
            }
            catch
            {
            }
            this.xfmTimekeeperOverTime_0 = null;
        }

        private void xfmTimekeeperTable_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            try
            {
                this.xtraTabbedMdiManager_0.Pages[this.xfmTimekeeperTable_0].MdiChild.Activate();
                this.xfmTimekeeperTable_0.SaveBeforeClose();
            }
            catch
            {
            }
            this.xfmTimekeeperTable_0 = null;
        }

        private void xfmTimekeeping_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmTimekeeping_0 = null;
        }

        private void xfmTotalUp_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmTotalUp_0 = null;
        }

        private void xfmUsers_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmUsers_0 = null;
        }

        private void xfmWorkdesk_0_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.xfmWorkdesk_0 = null;
        }

        public delegate void Delegate0(object sender, string[] args);
    }
    internal class Class1
    {
        // Fields
        internal static Dictionary<string, int> dictionary_0;
    }

}

